-
Notifications
You must be signed in to change notification settings - Fork 29
Open
Description
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:
- @change not firing for FormKit type="checkbox" with more than one checkbox (via :options) formkit#294
<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
- To be explicit in this and state that it's different from browser-native events.
- Link to an explanation of why FormKit chose this so interested people can understand the why.
- Provide a simple example of how to achieve this in FormKit (using FormKit best practices).
Metadata
Metadata
Assignees
Labels
No labels