Margarita form reference documentation
Preparing search index...
@margarita-form/core
MargaritaFormState
Interface MargaritaFormState
interface
MargaritaFormState
{
active
:
boolean
;
allErrors
:
MargaritaFormStateAllErrors
;
children
?:
MargaritaFormStateChildren
;
control
?:
MFC
<
MFGF
<
FieldParams
>
>
;
dirty
:
boolean
;
disabled
:
boolean
;
editable
:
boolean
;
enabled
:
boolean
;
errors
:
MargaritaFormStateErrors
;
focus
:
boolean
;
focusWithin
:
boolean
;
hasValue
?:
boolean
;
hidden
:
boolean
;
inactive
:
boolean
;
invalid
:
boolean
;
parentIsActive
?:
boolean
;
pristine
:
boolean
;
readOnly
:
boolean
;
shouldShowError
:
undefined
|
boolean
;
submitOutput
:
unknown
;
submitResult
:
"error"
|
"not-submitted"
|
"form-invalid"
|
"success"
;
submits
:
number
;
submitted
:
boolean
;
submitting
:
boolean
;
touched
:
boolean
;
untouched
:
boolean
;
valid
:
boolean
;
validated
:
boolean
;
validating
:
boolean
;
valueChanged
:
boolean
;
visible
:
boolean
;
[
key
:
string
]:
any
;
}
Hierarchy (
View Summary
)
UserDefinedStates
<
boolean
>
MargaritaFormState
Indexable
[
key
:
string
]:
any
Index
Properties
active
all
Errors
children?
control?
dirty
disabled
editable
enabled
errors
focus
focus
Within
has
Value?
hidden
inactive
invalid
parent
Is
Active?
pristine
read
Only
should
Show
Error
submit
Output
submit
Result
submits
submitted
submitting
touched
untouched
valid
validated
validating
value
Changed
visible
Properties
active
active
:
boolean
all
Errors
allErrors
:
MargaritaFormStateAllErrors
Optional
children
children
?:
MargaritaFormStateChildren
Optional
control
control
?:
MFC
<
MFGF
<
FieldParams
>
>
dirty
dirty
:
boolean
disabled
disabled
:
boolean
editable
editable
:
boolean
enabled
enabled
:
boolean
errors
errors
:
MargaritaFormStateErrors
focus
focus
:
boolean
focus
Within
focusWithin
:
boolean
Optional
has
Value
hasValue
?:
boolean
hidden
hidden
:
boolean
inactive
inactive
:
boolean
invalid
invalid
:
boolean
Optional
parent
Is
Active
parentIsActive
?:
boolean
pristine
pristine
:
boolean
read
Only
readOnly
:
boolean
should
Show
Error
shouldShowError
:
undefined
|
boolean
submit
Output
submitOutput
:
unknown
submit
Result
submitResult
:
"error"
|
"not-submitted"
|
"form-invalid"
|
"success"
submits
submits
:
number
submitted
submitted
:
boolean
submitting
submitting
:
boolean
touched
touched
:
boolean
untouched
untouched
:
boolean
valid
valid
:
boolean
validated
validated
:
boolean
validating
validating
:
boolean
value
Changed
valueChanged
:
boolean
visible
visible
:
boolean
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
active
all
Errors
children
control
dirty
disabled
editable
enabled
errors
focus
focus
Within
has
Value
hidden
inactive
invalid
parent
Is
Active
pristine
read
Only
should
Show
Error
submit
Output
submit
Result
submits
submitted
submitting
touched
untouched
valid
validated
validating
value
Changed
visible
Margarita form reference documentation
Loading...