ResetForm action object.
More...
◆ getFieldNames()
ResetFormAction::getFieldNames |
( |
| ) |
|
|
inline |
Get all field names from the array of current reset form action.
- Returns
- string[] - An array of field names.
◆ getFlags()
ResetFormAction::getFlags |
( |
| ) |
|
|
inline |
Get the flag value used for resetting.
- Returns
- number - Flag value.
◆ setFieldNames()
ResetFormAction::setFieldNames |
( |
|
fieldNames | ) |
|
|
inline |
Set field name array.
- Parameters
-
fieldNames | string[] - An array of form fields' names, to identify which fields to reset or to exclude from resetting. |
- Returns
- Promise<Action> - An action object.
◆ setFlags()
ResetFormAction::setFlags |
( |
|
flags | ) |
|
|
inline |
Set the flag value used for resetting.
- Parameters
-
flags | 0|1 - Flag value. Currently, valid values are:
- 0: means to reset fields defined in the array.
- 1: means to reset all fields except those defined in the array.
|
- Returns
- Promise<Action> - An action object.