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
Finding out that FormKit components do not fire @change events is kind of important I think. Unfortunately it took me 45 minutes to find this out, others may be as surprised.
Well just to be clear @nielsbom, formkit fires any/all native events just like the browser. If you use @change on an input that supports the change event it will work just fine. There is no @change event for multiple checkbox inputs.
My main concern with listing all the parts of native HTML that also apply or do not apply to FormKit is that the HTML spec is very big, and I’m not entirely sure that FormKit should be the place where people learn about these standards. Perhaps we could be more explicit about how FormKit passes all event bindings through to the underlying input and then point people to MDN to read up on what event do exist in native HTML.
Finding out that FormKit components do not fire
@change
events is kind of important I think. Unfortunately it took me 45 minutes to find this out, others may be as surprised.Others are also confused:
<FormKit>
emits@update:model-value
twice in specific scenario formkit#961 (comment)(and probably others)
I think the docs are not explicit enough about this: https://formkit.com/essentials/inputs#events
My suggestions are
The text was updated successfully, but these errors were encountered: