Welcome to the React feedback portal. We’re happy you’re here! If you have feedback on how to improve the React, we’d love to hear it!

  • Check out the features or bugs others have reported and vote on your favorites. Feedback will be prioritized based on popularity.
  • If you have feedback that’s not listed yet, submit your own.

Thanks for joining our community and helping improve Syncfusion products!

2
Votes

Customer wants to get the updated value into TextBox component using keypress or keydown event.(
retrieving the component value will only give the previous value as the change event is not triggered during these events.
)

Working Sample : https://stackblitz.com/edit/react-txde9n-vthabn?file=index.js

(When using keyup event the modified value is retrieved from the value)

Non Working Sample: https://stackblitz.com/edit/react-txde9n-zeq56e?file=index.js

(But when using keypress and keydown event the modified value is not retrieved)


Replication Procedure:
  1. Open the non working sample.
  2. change the value.
  3. Press enter 

Expected: In alert box the value should be updated.

Actual: The value is not updated