ResetFormAction

constructor(fieldNames: List<String>, excludeFormFields: Boolean, subActions: List<Action> = emptyList())

Parameters

fieldNames

The names of the form fields to reset (or exclude, depending on excludeFormFields).

excludeFormFields

If true, all fields except those named in fieldNames are reset. If false, only the fields named in fieldNames are reset.

subActions

Additional actions to execute after this action completes.


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

Creates a ResetFormAction from a list of form fields.

Parameters

formFields

The form fields to reset (or exclude from reset).

excludeFormFields

If true, all fields except those in formFields are reset.