ResetFormAction

class ResetFormAction(fieldNames: List<String>, excludeFormFields: Boolean, subActions: List<Action> = emptyList()) : AbstractFormAction

Resets one or more form fields to their default value.

Constructors

Link copied to clipboard
constructor(fieldNames: List<String>, excludeFormFields: Boolean, subActions: List<Action> = emptyList())
constructor(formFields: List<FormField>, excludeFormFields: Boolean)

Properties

Link copied to clipboard
open override val type: ActionType

Returns type of action to make down-casting easier.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun shouldExcludeFormFields(): Boolean

Indicates whether to include form fields in fieldNames in the action or exclude them.

Link copied to clipboard
open override fun toString(): String