how to I delete input fields value
Answered
West African Lion posted this in #help-forum
West African LionOP
Answered by Ray
do you mean reset the form after the action?
move the form to client component and create a ref for the form, then call
move the form to client component and create a ref for the form, then call
ref.current?.reset() after the action3 Replies
@West African Lion Click to see attachment
do you mean reset the form after the action?
move the form to client component and create a ref for the form, then call
move the form to client component and create a ref for the form, then call
ref.current?.reset() after the actionAnswer
Labrador Duck
You can make form a client component and can clear it by above method mentioned by Ray
West African LionOP
Okay thanks