Documentation
Preparing search index...
@saltcorn/data
base-plugin/fieldviews
select_by_view
Variable select_by_view
Const
select_by_view
:
{
blockDisplay
:
boolean
;
configFields
:
(
field
:
GenObj
,
modeetc
?:
GenObj
,
)
=>
Promise
<
(
|
{
attributes
:
{
options
:
string
[]
}
;
help
?:
undefined
;
label
:
string
;
name
:
string
;
required
:
boolean
;
sublabel
?:
undefined
;
type
:
string
;
}
|
{
attributes
?:
undefined
;
help
:
{
topic
:
string
}
;
label
:
string
;
name
:
string
;
required
?:
undefined
;
sublabel
:
string
;
type
:
string
;
}
|
{
attributes
:
{
options
:
string
[]
}
;
help
?:
undefined
;
label
:
string
;
name
:
string
;
required
:
boolean
;
sublabel
:
string
;
type
:
string
;
}
|
{
attributes
?:
undefined
;
help
?:
undefined
;
label
:
string
;
name
:
string
;
required
?:
undefined
;
sublabel
?:
undefined
;
type
:
string
;
}
)
[]
,
>
;
description
:
string
;
isEdit
:
boolean
;
run
:
(
nm
:
string
,
v
:
any
,
attrs
:
GenObj
,
cls
:
string
,
reqd
:
boolean
,
field
:
GenObj
,
)
=>
string
;
type
:
string
;
fill_options
(
field
:
GenObj
,
force_allow_none
:
boolean
,
where0
:
GenObj
,
extraCtx
:
GenObj
,
optionsQuery
:
any
,
formFieldNames
:
string
[]
,
user
:
any
,
)
:
Promise
<
void
>
;
}
= ...
Type Declaration
blockDisplay
:
boolean
configFields
:
(
field
:
GenObj
,
modeetc
?:
GenObj
,
)
=>
Promise
<
(
|
{
attributes
:
{
options
:
string
[]
}
;
help
?:
undefined
;
label
:
string
;
name
:
string
;
required
:
boolean
;
sublabel
?:
undefined
;
type
:
string
;
}
|
{
attributes
?:
undefined
;
help
:
{
topic
:
string
}
;
label
:
string
;
name
:
string
;
required
?:
undefined
;
sublabel
:
string
;
type
:
string
;
}
|
{
attributes
:
{
options
:
string
[]
}
;
help
?:
undefined
;
label
:
string
;
name
:
string
;
required
:
boolean
;
sublabel
:
string
;
type
:
string
;
}
|
{
attributes
?:
undefined
;
help
?:
undefined
;
label
:
string
;
name
:
string
;
required
?:
undefined
;
sublabel
?:
undefined
;
type
:
string
;
}
)
[]
,
>
description
:
string
isEdit
:
boolean
run
:
(
nm
:
string
,
v
:
any
,
attrs
:
GenObj
,
cls
:
string
,
reqd
:
boolean
,
field
:
GenObj
,
)
=>
string
type
:
string
fill_options
:
function
fill_options
(
field
:
GenObj
,
force_allow_none
:
boolean
,
where0
:
GenObj
,
extraCtx
:
GenObj
,
optionsQuery
:
any
,
formFieldNames
:
string
[]
,
user
:
any
,
)
:
Promise
<
void
>
Parameters
field
:
GenObj
force_allow_none
:
boolean
where0
:
GenObj
extraCtx
:
GenObj
optionsQuery
:
any
formFieldNames
:
string
[]
user
:
any
Returns
Promise
<
void
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Documentation
Loading...