Skip to content

FormKit does not fire change events: be more explicit about this #118

@nielsbom

Description

@nielsbom

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:

(and probably others)

I think the docs are not explicit enough about this: https://formkit.com/essentials/inputs#events

My suggestions are

  1. To be explicit in this and state that it's different from browser-native events.
  2. Link to an explanation of why FormKit chose this so interested people can understand the why.
  3. Provide a simple example of how to achieve this in FormKit (using FormKit best practices).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions