Can you fill an input with text when a button is clicked?
Did you ever find a way to do this? I’m currently setting a state with the click. Then I’m setting a condition that when the state is not empty, set the initial content of the input to the state’s value. This works, but there should be an easier way.
This topic was automatically closed after 70 days. New replies are no longer allowed.