Class: EmptyFormElement
Extends
Constructors
new EmptyFormElement()
new EmptyFormElement(
options,
formBuilder,
external): EmptyFormElement
Parameters
Parameter | Type |
---|---|
options | SchemaField |
formBuilder | FormBuilder |
external | object |
Returns
Overrides
Methods
addSelect2()
addSelect2(): void
Returns
void
Inherited from
destroy()
destroy(): void
Returns
void
Inherited from
destroyEditor()
destroyEditor(): void
Returns
void
Inherited from
getData()
getData(): object
Returns
object
name
name: string;
value
value: any;
Inherited from
getDataForTemplate()
getDataForTemplate(): object
Returns
object
Inherited from
FormElement
.getDataForTemplate
getEditor()
getEditor(): HTMLElement
Returns
HTMLElement
Inherited from
getSchema()
getSchema(): object
Returns
object
Inherited from
getSchemaFieldOptionsList()
getSchemaFieldOptionsList(): any[]
Returns
any
[]
Inherited from
FormElement
.getSchemaFieldOptionsList
getValue()
getValue(): any
Returns
any
Inherited from
hide()
hide(): void
Returns
void
Inherited from
init()
init(): void
Returns
void
Inherited from
initEditor()
initEditor(): void
Returns
void
Inherited from
redraw()
redraw(): void
Returns
void
Inherited from
redrawEditor()
redrawEditor(): void
Returns
void
Inherited from
setDomElements()
setDomElements(): void
Returns
void
Inherited from
setEditorEventHandlers()
setEditorEventHandlers(): void
Returns
void
Inherited from
FormElement
.setEditorEventHandlers
setEventHandlers()
setEventHandlers(): void
Returns
void
Inherited from
setExternal()
setExternal(params): void
Parameters
Parameter | Type |
---|---|
params | any |
Returns
void
Inherited from
setInputValue()
setInputValue(value): void
Parameters
Parameter | Type |
---|---|
value | any |
Returns
void
Inherited from
setOptions()
setOptions(options?): any[]
Parameters
Parameter | Type |
---|---|
options ? | any [] |
Returns
any
[]
Inherited from
setValue()
setValue(value, updateInput): void
Parameters
Parameter | Type | Default value |
---|---|---|
value | any | undefined |
updateInput | boolean | true |
Returns
void
Inherited from
show()
show(): void
Returns
void
Inherited from
triggerChanged()
triggerChanged(): void
Returns
void
Inherited from
update()
update(prop, value): void
Parameters
Parameter | Type |
---|---|
prop | any |
value | any |
Returns
void
Inherited from
Properties
auto_increment?
optional auto_increment: boolean;
Inherited from
db_type
db_type: string;
Inherited from
domElements
domElements: object;
Index Signature
[key
: string
]: HTMLElement
edit?
optional edit: HTMLElement;
main?
optional main: HTMLElement;
Inherited from
editMode
editMode: boolean;
Inherited from
events
events: Events;
Inherited from
external
external: object;
Index Signature
[key
: string
]: any
Inherited from
filtersMode
filtersMode: boolean;
Inherited from
formBuilder
formBuilder: FormBuilder;
Inherited from
help?
optional help: string;
Inherited from
hiddenOnTable?
optional hiddenOnTable: boolean;
Inherited from
inputs
inputs: object;
Index Signature
[key
: string
]:
| HTMLInputElement
| HTMLSelectElement
| HTMLTextAreaElement
| HTMLButtonElement
| RadioNodeList
Inherited from
label
label: string;
Inherited from
mapIsGeo
mapIsGeo: boolean;
Inherited from
name
name: string;
Inherited from
nameChanged
nameChanged: boolean;
Inherited from
namespace
namespace: string;
Inherited from
not_null?
optional not_null: boolean;
Inherited from
options?
optional options: any[];
Inherited from
optionsDict?
optional optionsDict: object;
Index Signature
[key
: string
]: any
Inherited from
parameterName?
optional parameterName: string;
Inherited from
parameterNameShort?
optional parameterNameShort: string;
Inherited from
FormElement
.parameterNameShort
placeholder?
optional placeholder: string;
Inherited from
protected?
optional protected: boolean;
Inherited from
readonly?
optional readonly: boolean;
Inherited from
renamable?
optional renamable: boolean;
Inherited from
searchable?
optional searchable: boolean;
Inherited from
showIf?
optional showIf: Record<string, any>;
Inherited from
templates
templates: object;
Index Signature
[key
: string
]: (data
) => string
edit()?
optional edit: (data) => string;
Parameters
Parameter | Type |
---|---|
data | Record <string , any > |
Returns
string
main()?
optional main: (data) => string;
Parameters
Parameter | Type |
---|---|
data | Record <string , any > |
Returns
string
Inherited from
type
type: string;
Inherited from
value
value: any;
Inherited from
visible?
optional visible: boolean;