dacha
Docs
GitHub
Preparing search index...
GetFieldOptionsFn
Type Alias GetFieldOptionsFn
GetFieldOptionsFn
:
(
getState
:
(
path
:
string
[]
)
=>
unknown
,
context
:
{
data
:
Record
<
string
,
unknown
>
;
path
:
string
[]
}
,
)
=>
FieldOption
[]
|
string
[]
|
number
[]
Builds the options of a select field from the project configuration.
Type Declaration
(
getState
:
(
path
:
string
[]
)
=>
unknown
,
context
:
{
data
:
Record
<
string
,
unknown
>
;
path
:
string
[]
}
,
)
:
FieldOption
[]
|
string
[]
|
number
[]
Parameters
getState
:
(
path
:
string
[]
)
=>
unknown
context
:
{
data
:
Record
<
string
,
unknown
>
;
path
:
string
[]
}
Returns
FieldOption
[]
|
string
[]
|
number
[]
Settings
Member Visibility
Protected
Inherited
Advanced
Theme
OS
Light
Dark
Docs
GitHub
dacha
Loading...
Builds the options of a select field from the project configuration.