Class: SchemaField
A Schema field descriptor. Contains field name, label, type, etc.
Implements
Indexable
[key: string]: any
Constructors
Constructor
new SchemaField(field): SchemaField;
Parameters
| Parameter | Type |
|---|---|
field | { [key: string]: any; } |
Returns
SchemaField
Methods
getEnumLabel()
getEnumLabel(value): string;
Parameters
| Parameter | Type |
|---|---|
value | string | number |
Returns
string
Properties
db_default?
optional db_default: string | number | boolean;
Implementation of
db_type?
optional db_type: SchemaFieldDbType;
Implementation of
help?
optional help: string;
Implementation of
hiddenOnTable?
optional hiddenOnTable: boolean;
Implementation of
SchemaFieldProps.hiddenOnTable
label?
optional label: string;
Implementation of
name?
optional name: string;
Implementation of
options?
optional options: ArrayIndexed<FormElementOptions>;
Implementation of
parameterName?
optional parameterName: string;
Implementation of
SchemaFieldProps.parameterName
parameterNameShort?
optional parameterNameShort: string;
Implementation of
SchemaFieldProps.parameterNameShort
placeholder?
optional placeholder: string;
Implementation of
protected?
optional protected: boolean;
Implementation of
readonly?
optional readonly: boolean;
Implementation of
renamable?
optional renamable: boolean;
Implementation of
searchable?
optional searchable: boolean;
Implementation of
type
type: SchemaFieldType;
Implementation of
value?
optional value: any;
Implementation of
visible?
optional visible: boolean;