Documentation
Preparing search index...
@saltcorn/data
base-plugin/fieldviews
select_by_code
Variable select_by_code
Const
select_by_code
:
{
blockDisplay
:
boolean
;
configFields
:
(
field
:
GenObj
,
)
=>
{
attributes
:
{
mode
:
string
;
nojoins
:
boolean
}
;
class
:
string
;
input_type
:
string
;
label
:
string
;
name
:
string
;
sublabel
:
string
;
validator
(
s
:
string
)
:
any
;
}
[]
;
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
,
)
=>
{
attributes
:
{
mode
:
string
;
nojoins
:
boolean
}
;
class
:
string
;
input_type
:
string
;
label
:
string
;
name
:
string
;
sublabel
:
string
;
validator
(
s
:
string
)
:
any
;
}
[]
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...