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
The following warning is thrown at build time by Vite. I couldn't find a way to conditionally set the "checked" value based on the "checked" prop/attr being there or not.
I see I can use Modular Form's "Checkbox" element - not sure if that has the same issue or not - but I want to use a vanilla field instead.
Thanks @fabian-hiller. Is the suggestion solution feasible though?
Could the "checked" attr and others associated with an input field be exposed via props or field?
This is currently not possible because <Field /> only provides the data layer and does not dictate how to use it. I am still confused as to why this error occurs at all. I have never heard of this problem before.
The following warning is thrown at build time by Vite. I couldn't find a way to conditionally set the "checked" value based on the "checked" prop/attr being there or not.
I see I can use Modular Form's "Checkbox" element - not sure if that has the same issue or not - but I want to use a vanilla field instead.
Error:
FYI Here's the whole html block where this is happening:
Ideally - I should be able to do something like this (doesn't work obviously):
Any recommendations?
The text was updated successfully, but these errors were encountered: