SubmissionControl

constructor(policy: SubmissionPolicy, rule: FormRule<T>, submit: () -> Unit, initialValue: T, getValue: () -> T, hasError: () -> Boolean, getFieldKeys: () -> FormFieldNames, isSubmitting: () -> Boolean, isSubmitted: () -> Boolean, getSubmitCount: () -> Int)

Creates a submission control.

Parameters

T

The type of the form value.