Preparing search index...
The search index is not available
Margarita form reference documentation
Margarita form reference documentation
@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 full
)
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
all
Errors
:
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
focus
Within
:
boolean
Optional
has
Value
has
Value
?:
boolean
hidden
hidden
:
boolean
inactive
inactive
:
boolean
invalid
invalid
:
boolean
Optional
parent
Is
Active
parent
Is
Active
?:
boolean
pristine
pristine
:
boolean
read
Only
read
Only
:
boolean
should
Show
Error
should
Show
Error
:
undefined
|
boolean
submit
Output
submit
Output
:
unknown
submit
Result
submit
Result
:
|
"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
value
Changed
:
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...