AdminForthResourceColumn
Extends
Omit<AdminForthResourceColumnCommon,"showIn"|"backendOnly">
Properties
_underlineType?
optional_underlineType?:string
Internal type which indicates original type of column in database.
Inherited from
AdminForthResourceColumnCommon._underlineType
allowMinMaxQuery?
optionalallowMinMaxQuery?: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
allowModifyWhenNotShowInCreate?
optionalallowModifyWhenNotShowInCreate?:boolean
Allows setting this column on Create requests even when showIn.create resolves to false.
Default is false.
This is useful for custom create components which update hidden/technical fields via
update:recordFieldValue.
Inherited from
AdminForthResourceColumnInputCommon.allowModifyWhenNotShowInCreate
allowModifyWhenNotShowInEdit?
optionalallowModifyWhenNotShowInEdit?:boolean
Allows updating this column on Edit requests even when showIn.edit resolves to false.
Default is false.
This is useful for custom edit components which update hidden/technical fields via
update:recordFieldValue.
Inherited from
AdminForthResourceColumnInputCommon.allowModifyWhenNotShowInEdit
backendOnly?
optionalbackendOnly?:BackendOnlyInput
components?
optionalcomponents?:AdminForthFieldComponents
Custom components which will be used to render this field in the admin panel.
Inherited from
AdminForthResourceColumnInputCommon.components
editingNote?
optionaleditingNote?:object
Whether AdminForth will show editing note near the field in edit/create form.
create?
optionalcreate?:string
edit?
optionaledit?:string
Inherited from
AdminForthResourceColumnCommon.editingNote