We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dbbea6e commit a401bb5Copy full SHA for a401bb5
src/queries/label-text.js
@@ -21,7 +21,7 @@ function queryAllLabelsByText(
21
22
// The children of a textarea are part of `textContent` as well. We
23
// need to remove them from the string so we can match it afterwards.
24
- label.querySelectorAll('textarea').forEach(textarea => {
+ Array.from(label.querySelectorAll('textarea')).forEach(textarea => {
25
textToMatch = textToMatch.replace(textarea.value, '')
26
})
27
0 commit comments