Class: TextareaFormElement
Extends
Constructors
new TextareaFormElement()
new TextareaFormElement(
options,
formBuilder,
external): TextareaFormElement
Parameters
Parameter | Type |
---|---|
options | SchemaField |
formBuilder | FormBuilder |
external | object |
Returns
Overrides
Methods
addSelect2()
addSelect2(): void
Returns
void
Inherited from
destroy()
destroy(): void
Returns
void
Overrides
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
Overrides
FormElement
.getDataForTemplate
getEditor()
getEditor(): HTMLElement
Returns
HTMLElement
Inherited from
getSchema()
getSchema(): object
Returns
object
Overrides
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
Overrides
setEditorEventHandlers()
setEditorEventHandlers(): void
Returns
void
Inherited from
FormElement
.setEditorEventHandlers
setEventHandlers()
setEventHandlers(): void
Returns
void
Overrides
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
setTextareaValue()
setTextareaValue(codemirror): void
Parameters
Parameter | Type |
---|---|
codemirror | any |
Returns
void
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
autobr
autobr: boolean;
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
editor
editor: Editor;
events
events: Events;
Inherited from
external
external: object;
Index Signature
[key
: string
]: any
Inherited from
filtersMode
filtersMode: boolean;
Inherited from
format
format: "text" | "json" | "html";
formBuilder
formBuilder: FormBuilder;
Inherited from
help?
optional help: string;
Inherited from
hiddenOnTable?
optional hiddenOnTable: boolean;
Inherited from
html
html: boolean;
htmlEditor
htmlEditor: any;
inputs
inputs: object;
textarea
textarea: HTMLTextAreaElement;
Overrides
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
searchType
searchType: string;
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;