how to trigger onChange
without blurring the input with useNumberField ?
#4524
Replies: 2 comments 3 replies
-
Hey, I think this issue discussion will answer your question #1674 If you must know every character change to the field, you could always hook up What is your use case so we have more information if we want to consider a change? |
Beta Was this translation helpful? Give feedback.
-
Thank you @snowystinger , this discussion #1674 answered my question. Im currently having 2 use cases:
I will find a way to work around the second use case, but for the first use case, it seems impossible since the It would be nice to have an "onChange" function that behaves like a regular "onChange". As you mentioned, exposing an |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
The default behavior of
useNumberField
is to triggeronChange
when the user types a value and then blurs the input. Is there a way to makeuseNumberField
behave likeuseTextField
, where each keystroke triggersonChange
immediately ?Beta Was this translation helpful? Give feedback.
All reactions