Skip to main content

Possible to get text, number, and other element inputs to handle an `oninput` events?

Comments

1 comment

  • Ken Lyon

    Hi Alan Clack ,

    What you're describing would be quite an intricate customization of the behaviour of the elements. We don't tend to expose that level of detail. Generally, form elements fire a change event when the field loses focus which is when we consider the user's changes to be “done”. There are a few exceptions like the slider controls because we got feedback that people wanted to be able to have immediate feedback while dragging.

    For the kind of thing you're thinking, it might be worth looking into writing a custom form element.

    0

Please sign in to leave a comment.