Actions
reset-state
3min
Reset-state action is typically used to reset the state of the key inside the file and can be used further to reset the state of UI components and forms. To understand how to use states, see State.
There are multiple ways to set up a reset-state action within a :
- As onFocus action that will be executed.
- As onRefresh action that will be executed.
- As the main action on the , and when you press the action, the reset-state action will be executed.
- The onPress and onChange actions will be executed when you trigger the onPress or onChange event.