Skip to content

[DataModel] Add an option to emit an input event when the value changes #302

@titouanmathis

Description

@titouanmathis

This can be useful to trigger other behaviors when working with forms. Another solution would be to emit a custom event on the DataBind component when the value changes, allowing us to react to it with the Action component.

<input type="text" 
  data-component="DataModel Action"
  data-option-on:custom-input="console.log('input has changed')"
  value="...">

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels
    No fields configured for Feature.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions