reflex icon indicating copy to clipboard operation
reflex copied to clipboard

Add way to clear uncontrolled input

Open picklelo opened this issue 3 years ago β€’ 0 comments

Currently in order to clear the value of a pc.input you need to make it a controlled input (i.e. set the value and on_change props together). This has the downside of making a network call with every keystroke. We need a more performant way to achieve this.

Possibly react refs?

picklelo avatar Dec 13 '22 12:12 picklelo