FormKit does not fire change events: be more explicit about this
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 45/100
- Issue type
- Documentation
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- javascript
- Domain
- documentation
Research direction
Start with the events section at formkit.com/essentials/inputs#events and review the linked issues for the confusion around @change. Update the documentation to distinguish FormKit behavior from browser-native events, explain the rationale, and show the recommended FormKit approach; done means all three suggestions are covered clearly.
Written by the indexing model from the issue text.
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:
- https://github.com/formkit/formkit/issues/294
- https://github.com/formkit/formkit/issues/961#issuecomment-1731923522
(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).
- Dominant language
- JavaScript
- Stars
- 19
- Forks
- 29
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from formkit/docs-content
-
Difficulty 2/5 1-3 hours Newbie friendliness 50/100
formkit/docs-content#151 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 55/100
formkit/docs-content#148 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
formkit/docs-content#147 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 48/100
formkit/docs-content#140 · 5 comments · 1 reaction ·
-
formkit/docs-content#122 · 1 assignee ·
All issues in formkit/docs-content
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
docToolchain/docToolchain#1705 ·
-
Timezone select lists one option per character; duplicate "Failed" reason; shared tracker popover id Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
nightscout/nocturne#1414 ·
-
bug v2
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
modelcontextprotocol/inspector#2458 · 1 comment ·
-
Mend: dependency security vulnerability status: needs triage 🕵️♀️
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
carbon-design-system/ibm-products#9907 ·