Prometheus Entity Management API
Preparing search index...
@prometheus-ags/prometheus-entity-management
FieldDescriptor
Interface FieldDescriptor<TEntity>
interface
FieldDescriptor
<
TEntity
>
{
editControl
?:
(
value
:
unknown
,
onChange
:
(
v
:
unknown
)
=>
void
,
entity
:
Partial
<
TEntity
>
,
)
=>
ReactNode
;
field
:
string
;
hideOnCreate
?:
boolean
;
hideOnEdit
?:
boolean
;
hint
?:
string
;
label
:
string
;
options
?:
{
label
:
string
;
value
:
string
}
[]
;
placeholder
?:
string
;
readonlyOnEdit
?:
boolean
;
render
?:
(
value
:
unknown
,
entity
:
TEntity
)
=>
ReactNode
;
required
?:
boolean
;
type
:
FieldType
;
}
Type Parameters
TEntity
Hierarchy (
View Summary
)
FieldDescriptor
SchemaFieldDescriptor
Index
Properties
edit
Control?
field
hide
On
Create?
hide
On
Edit?
hint?
label
options?
placeholder?
readonly
On
Edit?
render?
required?
type
Properties
Optional
edit
Control
editControl
?:
(
value
:
unknown
,
onChange
:
(
v
:
unknown
)
=>
void
,
entity
:
Partial
<
TEntity
>
,
)
=>
ReactNode
field
field
:
string
Optional
hide
On
Create
hideOnCreate
?:
boolean
Optional
hide
On
Edit
hideOnEdit
?:
boolean
Optional
hint
hint
?:
string
label
label
:
string
Optional
options
options
?:
{
label
:
string
;
value
:
string
}
[]
Optional
placeholder
placeholder
?:
string
Optional
readonly
On
Edit
readonlyOnEdit
?:
boolean
Optional
render
render
?:
(
value
:
unknown
,
entity
:
TEntity
)
=>
ReactNode
Optional
required
required
?:
boolean
type
type
:
FieldType
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
edit
Control
field
hide
On
Create
hide
On
Edit
hint
label
options
placeholder
readonly
On
Edit
render
required
type
Prometheus Entity Management API
Loading...