ResetFormAction

constructor(@NonNull formFields: List<FormField>, excludeFormFields: Boolean)

Creates action instance.

Parameters

formFields

List of target form fields.

excludeFormFields

true to reset all fields except target form fields false to reset only the target form fields.


constructor(@NonNull fieldNames: List<String>, excludeFormFields: Boolean, @Nullable subActions: List<Action>)

Creates action instance.

Parameters

fieldNames

List of target form field names.

excludeFormFields

true to reset all fields except target form fields false to reset only the target form fields.

subActions

List of sub-actions of this action.