Wagtail client-side components
Preparing search index...
components/StreamField/blocks/FieldBlock
FieldBlock
Class FieldBlock
Index
Constructors
constructor
Properties
block
Def
element
field
id
For
Label
parent
Capabilities
prefix
type
widget
Methods
focus
get
Attributes
get
State
get
Text
Label
get
Value
set
Capability
Options
set
Error
set
State
Constructors
constructor
new
FieldBlock
(
blockDef
:
any
,
placeholder
:
any
,
prefix
:
any
,
initialState
:
any
,
initialError
:
any
,
parentCapabilities
:
any
,
)
:
FieldBlock
Parameters
blockDef
:
any
placeholder
:
any
prefix
:
any
initialState
:
any
initialError
:
any
parentCapabilities
:
any
Returns
FieldBlock
Properties
block
Def
blockDef
:
any
element
element
:
HTMLElement
field
field
:
null
|
Element
id
For
Label
idForLabel
:
any
parent
Capabilities
parentCapabilities
:
any
prefix
prefix
:
any
type
type
:
any
widget
widget
:
any
Methods
focus
focus
(
opts
:
any
)
:
void
Parameters
opts
:
any
Returns
void
get
Attributes
getAttributes
()
:
{
"aria-describedby"
:
string
;
maxLength
:
any
;
required
:
string
;
}
Returns
{
"aria-describedby"
:
string
;
maxLength
:
any
;
required
:
string
}
get
State
getState
()
:
any
Returns
any
get
Text
Label
getTextLabel
(
opts
:
any
)
:
any
Parameters
opts
:
any
Returns
any
get
Value
getValue
()
:
any
Returns
any
set
Capability
Options
setCapabilityOptions
(
capability
:
any
,
options
:
any
)
:
void
Parameters
capability
:
any
options
:
any
Returns
void
set
Error
setError
(
error
:
any
)
:
void
Parameters
error
:
any
Returns
void
set
State
setState
(
state
:
any
)
:
void
Parameters
state
:
any
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
block
Def
element
field
id
For
Label
parent
Capabilities
prefix
type
widget
Methods
focus
get
Attributes
get
State
get
Text
Label
get
Value
set
Capability
Options
set
Error
set
State
Wagtail client-side components
Loading...