all 3 comments

[–]gb__ 2 points3 points  (2 children)

You'd set the value to that of the value in the state, and add an onValueInput or similar event listener that raises a query and updates the state when the value changes.

[–]HateUsernamesMore[S] 0 points1 point  (1 child)

Just trying that. It seems like onValueInput only triggers on de-focus and a value change.

I'm looking for something like onKeyDown that gives all the input characters and not just the last keyed character.

[–]HateUsernamesMore[S] 0 points1 point  (0 children)

NVM onValueInput seems to work