AdminForthResourceColumnCommon
Column describes one field in the table or collection in database.
Extends
Properties
_underlineType?
optional
_underlineType:string
Internal type which indicates original type of column in database.
allowMinMaxQuery?
optional
allowMinMaxQuery:boolean
Allow AdminForth to execute SELECT min(column) and SELECT max(column) queries to get min and max values for this column. This would improve UX of filters by adding sliders for numeric columns.
NOTE: By default is option is false
to prevent performance issues on large tables.
If you are going to set it to true
, make sure you have a one-item index on this column (one index for each column which has it) or ensure your table will not have a large number of records.
Inherited from
AdminForthResourceColumnInputCommon
. allowMinMaxQuery
backendOnly?
optional
backendOnly:boolean
if true field will !not be passed to UI under no circumstances, but will be presented in hooks
Inherited from
AdminForthResourceColumnInputCommon
. backendOnly
components?
optional
components:AdminForthFieldComponents
Custom components which will be used to render this field in the admin panel.
Inherited from
AdminForthResourceColumnInputCommon
. components
editReadonly?
optional
editReadonly:boolean
Whether AdminForth will allow to edit this field in editing mode.
Inherited from
AdminForthResourceColumnInputCommon
. editReadonly
editingNote?
optional
editingNote:object
Whether AdminForth will show editing note near the field in edit/create form.
create?
optional
create:string
edit?
optional
edit:string
Overrides
AdminForthResourceColumnInputCommon
. editingNote
enforceLowerCase?
optional
enforceLowerCase:boolean
Will automatically convert any capital letters to lowercase in input during editing
Inherited from
AdminForthResourceColumnInputCommon
. enforceLowerCase
enum?
optional
enum:AdminForthColumnEnumItem
[]
Enum of possible values for this field.
Inherited from
AdminForthResourceColumnInputCommon
. enum