Skip to main content

Interface: FormElementWithOptionsInterface

Extends​

Methods​

destroy()​

destroy(): void;

Returns​

void

Inherited from​

FormElementInterface.destroy


destroyEditor()​

destroyEditor(): void;

Returns​

void

Inherited from​

FormElementInterface.destroyEditor


getData()​

getData(): object;

Returns​

object

name​
name: string;
value​
value: any;

Inherited from​

FormElementInterface.getData


getDataForTemplate()​

getDataForTemplate(): any;

Returns​

any

Inherited from​

FormElementInterface.getDataForTemplate


getEditor()​

getEditor(): HTMLElement;

Returns​

HTMLElement

Inherited from​

FormElementInterface.getEditor


getSchema()​

getSchema(): any;

Returns​

any

Inherited from​

FormElementInterface.getSchema


getValue()​

getValue(): any;

Returns​

any

Inherited from​

FormElementInterface.getValue


hide()​

hide(): void;

Returns​

void

Inherited from​

FormElementInterface.hide


init()​

init(): void;

Returns​

void

Inherited from​

FormElementInterface.init


initEditor()​

initEditor(): void;

Returns​

void

Inherited from​

FormElementInterface.initEditor


redraw()​

redraw(): void;

Returns​

void

Inherited from​

FormElementInterface.redraw


setDomElements()​

setDomElements(): void;

Returns​

void

Inherited from​

FormElementInterface.setDomElements


setEditorEventHandlers()​

setEditorEventHandlers(): void;

Returns​

void

Inherited from​

FormElementInterface.setEditorEventHandlers


setEventHandlers()​

setEventHandlers(): void;

Returns​

void

Inherited from​

FormElementInterface.setEventHandlers


setExternal()​

setExternal(params): void;

Parameters​

ParameterType
paramsany

Returns​

void

Inherited from​

FormElementInterface.setExternal


setInputValue()​

setInputValue(value): void;

Parameters​

ParameterType
valueany

Returns​

void

Inherited from​

FormElementInterface.setInputValue


setValue()​

setValue(value, updateInput?): void;

Parameters​

ParameterType
valueany
updateInput?boolean

Returns​

void

Inherited from​

FormElementInterface.setValue


show()​

show(): void;

Returns​

void

Inherited from​

FormElementInterface.show

Properties​

asyncOptions​

asyncOptions: boolean;

db_type​

db_type: string;

Inherited from​

FormElementInterface.db_type


domElements​

domElements: object;

Index Signature​

[key: string]: HTMLElement

edit?​

optional edit: HTMLElement;

main?​

optional main: HTMLElement;

Inherited from​

FormElementInterface.domElements


editMode​

editMode: boolean;

Inherited from​

FormElementInterface.editMode


events​

events: Events;

Inherited from​

FormElementInterface.events


external​

external: object;

Index Signature​

[key: string]: any

Inherited from​

FormElementInterface.external


filtersMode​

filtersMode: boolean;

Inherited from​

FormElementInterface.filtersMode


formBuilder​

formBuilder: FormBuilder;

Inherited from​

FormElementInterface.formBuilder


help?​

optional help: string;

Inherited from​

FormElementInterface.help


inputs​

inputs: object;

Index Signature​

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

Inherited from​

FormElementInterface.inputs


label​

label: string;

Inherited from​

FormElementInterface.label


mapIsGeo​

mapIsGeo: boolean;

Inherited from​

FormElementInterface.mapIsGeo


name​

name: string;

Inherited from​

FormElementInterface.name


nameChanged​

nameChanged: boolean;

Inherited from​

FormElementInterface.nameChanged


namespace​

namespace: string;

Inherited from​

FormElementInterface.namespace


options​

options: FormElementOptions[];

Overrides​

FormElementInterface.options


optionsDict​

optionsDict: object;

Index Signature​

[key: string]: any

Overrides​

FormElementInterface.optionsDict


optionsSource​

optionsSource: object;

fieldCategory​

fieldCategory: "meta" | "taxonomy" | "custom";

fieldName​

fieldName: string;

name​

name: string;

type​

type: "object" | "region" | "post";

parameterName?​

optional parameterName: string;

Inherited from​

FormElementInterface.parameterName


parameterNameShort?​

optional parameterNameShort: string;

Inherited from​

FormElementInterface.parameterNameShort


placeholder?​

optional placeholder: string;

Inherited from​

FormElementInterface.placeholder


protected?​

optional protected: boolean;

Inherited from​

FormElementInterface.protected


readonly?​

optional readonly: boolean;

Inherited from​

FormElementInterface.readonly


searchable?​

optional searchable: boolean;

Inherited from​

FormElementInterface.searchable


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​

FormElementInterface.templates


type​

type: string;

Inherited from​

FormElementInterface.type


value​

value: any;

Inherited from​

FormElementInterface.value


visible?​

optional visible: boolean;

Inherited from​

FormElementInterface.visible