-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Closed
Description
Assume that I need to change the value of username input field upon the change of last name field. The reason why the username should be kept on the input is to let the user manipulating it. The way to do it is to call the change
action to change the value of username input. But we need to override the onChange
prop on lastName input. It seems sloppy and I wonder if it has drawbacks.
<input {...lastName} />
<input {...username} />
Metadata
Metadata
Assignees
Labels
No labels