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 a7b25e8 commit 7902b3eCopy full SHA for 7902b3e
packages/core/src/components/Form.tsx
@@ -837,7 +837,7 @@ export default class Form<
837
let field = this.formElement.current.elements[elementId];
838
if (!field) {
839
// if not an exact match, try finding an input starting with the element id (like radio buttons or checkboxes)
840
- field = this.formElement.current.querySelector(`input[id^=${elementId}`);
+ field = this.formElement.current.querySelector(`input[id^="${elementId}"`);
841
}
842
if (field && field.length) {
843
// If we got a list with length > 0
0 commit comments