You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Open in Chrome and check issues in devtools. The linked erroring nodes are all RadioGroups or CheckboxGroups.
Description
The FormField component correctly removes the for attribute from the label for the RadioGroup & CheckboxGroup components. Chrome devtools would suggest that there should be a further step so that <label> is not used at all in this context.
I am happy to propose changes.
Additional context
No response
Logs
The text was updated successfully, but these errors were encountered:
Update:
I have a simple fix that works fine for RadioGroup - but on closer inspection, it would seem that CheckboxGroup is not working as designed. Although opts: { bind: false } is working as expected, there is something else going on that means the FormField label actually has a for="{id}" attribute when it shouldn't (it's also passing the test when it shouldn't)
Environment
Darwin
v22.13.0
3.16.2
3.24.0
2.11.8
pnpm@10.9.0
-
-
-
-
Is this bug related to Nuxt or Vue?
Nuxt
Version
nuxt-ui 3.1.0
Reproduction
https://ui.nuxt.com/components/form
Open in Chrome and check
issues
in devtools. The linked erroring nodes are all RadioGroups or CheckboxGroups.Description
The FormField component correctly removes the
for
attribute from the label for the RadioGroup & CheckboxGroup components. Chrome devtools would suggest that there should be a further step so that<label>
is not used at all in this context.I am happy to propose changes.
Additional context
No response
Logs
The text was updated successfully, but these errors were encountered: