FormElementWithOptionsInterface
Interface: FormElementWithOptionsInterface
Section titled “Interface: FormElementWithOptionsInterface”Extends
Section titled “Extends”Methods
Section titled “Methods”destroy()
Section titled “destroy()”destroy(): void;Returns
Section titled “Returns”void
Inherited from
Section titled “Inherited from”destroyEditor()
Section titled “destroyEditor()”destroyEditor(): void;Returns
Section titled “Returns”void
Inherited from
Section titled “Inherited from”FormElementInterface.destroyEditor
getData()
Section titled “getData()”getData(): object;Returns
Section titled “Returns”object
name: string;value: any;Inherited from
Section titled “Inherited from”getDataForTemplate()
Section titled “getDataForTemplate()”getDataForTemplate(): any;Returns
Section titled “Returns”any
Inherited from
Section titled “Inherited from”FormElementInterface.getDataForTemplate
getEditor()
Section titled “getEditor()”getEditor(): HTMLElement;Returns
Section titled “Returns”HTMLElement
Inherited from
Section titled “Inherited from”FormElementInterface.getEditor
getSchema()
Section titled “getSchema()”getSchema(): any;Returns
Section titled “Returns”any
Inherited from
Section titled “Inherited from”FormElementInterface.getSchema
getValue()
Section titled “getValue()”getValue(): any;Returns
Section titled “Returns”any
Inherited from
Section titled “Inherited from”hide()
Section titled “hide()”hide(): void;Returns
Section titled “Returns”void
Inherited from
Section titled “Inherited from”init()
Section titled “init()”init(): void;Returns
Section titled “Returns”void
Inherited from
Section titled “Inherited from”initEditor()
Section titled “initEditor()”initEditor(): void;Returns
Section titled “Returns”void
Inherited from
Section titled “Inherited from”FormElementInterface.initEditor
redraw()
Section titled “redraw()”redraw(): void;Returns
Section titled “Returns”void
Inherited from
Section titled “Inherited from”setDomElements()
Section titled “setDomElements()”setDomElements(): void;Returns
Section titled “Returns”void
Inherited from
Section titled “Inherited from”FormElementInterface.setDomElements
setEditorEventHandlers()
Section titled “setEditorEventHandlers()”setEditorEventHandlers(): void;Returns
Section titled “Returns”void
Inherited from
Section titled “Inherited from”FormElementInterface.setEditorEventHandlers
setEventHandlers()
Section titled “setEventHandlers()”setEventHandlers(): void;Returns
Section titled “Returns”void
Inherited from
Section titled “Inherited from”FormElementInterface.setEventHandlers
setExternal()
Section titled “setExternal()”setExternal(params): void;Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
params | any |
Returns
Section titled “Returns”void
Inherited from
Section titled “Inherited from”FormElementInterface.setExternal
setInputValue()
Section titled “setInputValue()”setInputValue(value): void;Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
value | any |
Returns
Section titled “Returns”void
Inherited from
Section titled “Inherited from”FormElementInterface.setInputValue
setValue()
Section titled “setValue()”setValue(value, updateInput?): void;Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
value | any |
updateInput? | boolean |
Returns
Section titled “Returns”void
Inherited from
Section titled “Inherited from”show()
Section titled “show()”show(): void;Returns
Section titled “Returns”void
Inherited from
Section titled “Inherited from”Properties
Section titled “Properties”asyncOptions
Section titled “asyncOptions”asyncOptions: boolean;db_type
Section titled “db_type”db_type: string;Inherited from
Section titled “Inherited from”domElements
Section titled “domElements”domElements: object;Index Signature
Section titled “Index Signature”[key: string]: HTMLElementoptional edit: HTMLElement;optional main: HTMLElement;Inherited from
Section titled “Inherited from”FormElementInterface.domElements
editMode
Section titled “editMode”editMode: boolean;Inherited from
Section titled “Inherited from”events
Section titled “events”events: Events;Inherited from
Section titled “Inherited from”external
Section titled “external”external: object;Index Signature
Section titled “Index Signature”[key: string]: anyInherited from
Section titled “Inherited from”filtersMode
Section titled “filtersMode”filtersMode: boolean;Inherited from
Section titled “Inherited from”FormElementInterface.filtersMode
formBuilder
Section titled “formBuilder”formBuilder: FormBuilder;Inherited from
Section titled “Inherited from”FormElementInterface.formBuilder
optional help: string;Inherited from
Section titled “Inherited from”inputs
Section titled “inputs”inputs: object;Index Signature
Section titled “Index Signature”[key: string]: | HTMLSelectElement | HTMLInputElement | HTMLTextAreaElement | HTMLButtonElement | RadioNodeListInherited from
Section titled “Inherited from”label: string;Inherited from
Section titled “Inherited from”mapIsGeo
Section titled “mapIsGeo”mapIsGeo: boolean;Inherited from
Section titled “Inherited from”name: string;Inherited from
Section titled “Inherited from”nameChanged
Section titled “nameChanged”nameChanged: boolean;Inherited from
Section titled “Inherited from”FormElementInterface.nameChanged
namespace
Section titled “namespace”namespace: string;Inherited from
Section titled “Inherited from”FormElementInterface.namespace
options
Section titled “options”options: FormElementOptions[];Overrides
Section titled “Overrides”optionsDict
Section titled “optionsDict”optionsDict: object;Index Signature
Section titled “Index Signature”[key: string]: anyOverrides
Section titled “Overrides”FormElementInterface.optionsDict
optionsSource
Section titled “optionsSource”optionsSource: object;fieldCategory
Section titled “fieldCategory”fieldCategory: "meta" | "taxonomy" | "custom";fieldName
Section titled “fieldName”fieldName: string;name: string;type: "object" | "region" | "post";parameterName?
Section titled “parameterName?”optional parameterName: string;Inherited from
Section titled “Inherited from”FormElementInterface.parameterName
parameterNameShort?
Section titled “parameterNameShort?”optional parameterNameShort: string;Inherited from
Section titled “Inherited from”FormElementInterface.parameterNameShort
placeholder?
Section titled “placeholder?”optional placeholder: string;Inherited from
Section titled “Inherited from”FormElementInterface.placeholder
protected?
Section titled “protected?”optional protected: boolean;Inherited from
Section titled “Inherited from”FormElementInterface.protected
readonly?
Section titled “readonly?”optional readonly: boolean;Inherited from
Section titled “Inherited from”searchable?
Section titled “searchable?”optional searchable: boolean;Inherited from
Section titled “Inherited from”FormElementInterface.searchable
templates
Section titled “templates”templates: object;Index Signature
Section titled “Index Signature”[key: string]: (data) => stringedit()?
Section titled “edit()?”optional edit: (data) => string;Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
data | Record<string, any> |
Returns
Section titled “Returns”string
main()?
Section titled “main()?”optional main: (data) => string;Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
data | Record<string, any> |
Returns
Section titled “Returns”string
Inherited from
Section titled “Inherited from”FormElementInterface.templates
type: string;Inherited from
Section titled “Inherited from”value: any;Inherited from
Section titled “Inherited from”visible?
Section titled “visible?”optional visible: boolean;