How to clear the parameters

After pressing a button and creating data, I want to clear the parameters in the input.
I tried the reset data and reset input. but I could not.

By parameters, I’m assuming you’re referring to the characters that are typed in the input

If you have an initial content in your input, resetting the group/input would only revert the content to the initial content.

If you don’t have an initial content, I do suggest rechecking the action if you were referencing to the correct input. You could also reset the group where the input is located in

Thank you for your reply.

As you pointed out, we are currently displaying the parameter value as the initial value.
Because I want to display the code number from the popup, so it is reflected in the initial value.

スクリーンショット 2024-05-23 093109

This method is used because it is not possible to display a code number other than the initial value.

Is it possible to use initial values ​​or clear the parameters in another way?

Probably I am missing the entire context here. But even without other details, there is an approach that maybe can solve your problem.

Instead display the URL parameter directly as input’s default value you could get the URL parameter on page load and set it as a Custom State (CS) in any element, then you can get this CS value as input’s default value.

And when you want to reset the input’s value to empty, just set CS value as empty.

1 Like

Thank you for the solution.

As you did, I changed it to set state instead of the parameter, and was able to clear the value.

Thank you for providing a great solution.

This topic was automatically closed after 70 days. New replies are no longer allowed.