Skip to main content

Class: EmptyFormElement

Extends

Constructors

new EmptyFormElement()

new EmptyFormElement(
options,
formBuilder,
external): EmptyFormElement

Parameters

ParameterType
optionsSchemaField
formBuilderFormBuilder
externalobject

Returns

EmptyFormElement

Overrides

FormElement.constructor

Methods

addSelect2()

addSelect2(): void

Returns

void

Inherited from

FormElement.addSelect2


destroy()

destroy(): void

Returns

void

Inherited from

FormElement.destroy


destroyEditor()

destroyEditor(): void

Returns

void

Inherited from

FormElement.destroyEditor


getData()

getData(): object

Returns

object

name
name: string;
value
value: any;

Inherited from

FormElement.getData


getDataForTemplate()

getDataForTemplate(): object

Returns

object

Inherited from

FormElement.getDataForTemplate


getEditor()

getEditor(): HTMLElement

Returns

HTMLElement

Inherited from

FormElement.getEditor


getSchema()

getSchema(): object

Returns

object

Inherited from

FormElement.getSchema


getSchemaFieldOptionsList()

getSchemaFieldOptionsList(): any[]

Returns

any[]

Inherited from

FormElement.getSchemaFieldOptionsList


getValue()

getValue(): any

Returns

any

Inherited from

FormElement.getValue


hide()

hide(): void

Returns

void

Inherited from

FormElement.hide


init()

init(): void

Returns

void

Inherited from

FormElement.init


initEditor()

initEditor(): void

Returns

void

Inherited from

FormElement.initEditor


redraw()

redraw(): void

Returns

void

Inherited from

FormElement.redraw


redrawEditor()

redrawEditor(): void

Returns

void

Inherited from

FormElement.redrawEditor


setDomElements()

setDomElements(): void

Returns

void

Inherited from

FormElement.setDomElements


setEditorEventHandlers()

setEditorEventHandlers(): void

Returns

void

Inherited from

FormElement.setEditorEventHandlers


setEventHandlers()

setEventHandlers(): void

Returns

void

Inherited from

FormElement.setEventHandlers


setExternal()

setExternal(params): void

Parameters

ParameterType
paramsany

Returns

void

Inherited from

FormElement.setExternal


setInputValue()

setInputValue(value): void

Parameters

ParameterType
valueany

Returns

void

Inherited from

FormElement.setInputValue


setOptions()

setOptions(options?): any[]

Parameters

ParameterType
options?any[]

Returns

any[]

Inherited from

FormElement.setOptions


setValue()

setValue(value, updateInput): void

Parameters

ParameterTypeDefault value
valueanyundefined
updateInputbooleantrue

Returns

void

Inherited from

FormElement.setValue


show()

show(): void

Returns

void

Inherited from

FormElement.show


triggerChanged()

triggerChanged(): void

Returns

void

Inherited from

FormElement.triggerChanged


update()

update(prop, value): void

Parameters

ParameterType
propany
valueany

Returns

void

Inherited from

FormElement.update

Properties

auto_increment?

optional auto_increment: boolean;

Inherited from

FormElement.auto_increment


db_type

db_type: string;

Inherited from

FormElement.db_type


domElements

domElements: object;

Index Signature

[key: string]: HTMLElement

edit?

optional edit: HTMLElement;

main?

optional main: HTMLElement;

Inherited from

FormElement.domElements


editMode

editMode: boolean;

Inherited from

FormElement.editMode


events

events: Events;

Inherited from

FormElement.events


external

external: object;

Index Signature

[key: string]: any

Inherited from

FormElement.external


filtersMode

filtersMode: boolean;

Inherited from

FormElement.filtersMode


formBuilder

formBuilder: FormBuilder;

Inherited from

FormElement.formBuilder


help?

optional help: string;

Inherited from

FormElement.help


hiddenOnTable?

optional hiddenOnTable: boolean;

Inherited from

FormElement.hiddenOnTable


inputs

inputs: object;

Index Signature

[key: string]: | HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement | HTMLButtonElement | RadioNodeList

Inherited from

FormElement.inputs


label

label: string;

Inherited from

FormElement.label


mapIsGeo

mapIsGeo: boolean;

Inherited from

FormElement.mapIsGeo


name

name: string;

Inherited from

FormElement.name


nameChanged

nameChanged: boolean;

Inherited from

FormElement.nameChanged


namespace

namespace: string;

Inherited from

FormElement.namespace


not_null?

optional not_null: boolean;

Inherited from

FormElement.not_null


options?

optional options: any[];

Inherited from

FormElement.options


optionsDict?

optional optionsDict: object;

Index Signature

[key: string]: any

Inherited from

FormElement.optionsDict


parameterName?

optional parameterName: string;

Inherited from

FormElement.parameterName


parameterNameShort?

optional parameterNameShort: string;

Inherited from

FormElement.parameterNameShort


placeholder?

optional placeholder: string;

Inherited from

FormElement.placeholder


protected?

optional protected: boolean;

Inherited from

FormElement.protected


readonly?

optional readonly: boolean;

Inherited from

FormElement.readonly


renamable?

optional renamable: boolean;

Inherited from

FormElement.renamable


searchable?

optional searchable: boolean;

Inherited from

FormElement.searchable


showIf?

optional showIf: Record<string, any>;

Inherited from

FormElement.showIf


templates

templates: object;

Index Signature

[key: string]: (data) => string

edit()?

optional edit: (data) => string;
Parameters
ParameterType
dataRecord<string, any>
Returns

string

main()?

optional main: (data) => string;
Parameters
ParameterType
dataRecord<string, any>
Returns

string

Inherited from

FormElement.templates


type

type: string;

Inherited from

FormElement.type


value

value: any;

Inherited from

FormElement.value


visible?

optional visible: boolean;

Inherited from

FormElement.visible