Skip to main content

SchemaField

A Schema field descriptor. Contains field name, label, type, etc.

Implements

Indexable

[key: string]: any

Index

Constructors

constructor

Properties

optionaldb_default

db_default?: string | number | boolean

optionaldb_type

optionalhelp

help?: string

optionalhiddenOnTable

hiddenOnTable?: boolean

optionallabel

label?: string

optionalname

name?: string

optionaloptions

options?: ArrayIndexed<{}>

optionalparameterName

parameterName?: string

optionalparameterNameShort

parameterNameShort?: string

optionalplaceholder

placeholder?: string

optionalprotected

protected?: boolean

optionalreadonly

readonly?: boolean

optionalrenamable

renamable?: boolean

optionalsearchable

searchable?: boolean

type

optionalvalue

value?: any

optionalvisible

visible?: boolean

Methods

getEnumLabel

  • getEnumLabel(value: string | number): string
  • Parameters

    • value: string | number

    Returns string