Implementation of check box runtime model which extends from field model
↳ EmailInput
• get
:type(): string
string
Field.:type
• get
dataRef(): undefined
| null
| string
undefined
| null
| string
Field.dataRef
• get
default(): any
any
Field.default
• get
description(): undefined
| string
undefined
| string
Field.description
• set
description(d
): void
Name | Type |
---|---|
d |
undefined | string |
void
Field.description
• get
displayFormat(): undefined
| string
undefined
| string
Field.displayFormat
• get
displayValue(): any
any
Field.displayValue
• get
displayValueExpression(): undefined
| string
undefined
| string
Field.displayValueExpression
• get
editFormat(): undefined
| string
undefined
| string
Field.editFormat
• get
editValue(): any
any
Field.editValue
• get
emptyValue(): undefined
| null
| ""
undefined
| null
| ""
Field.emptyValue
• get
enabled(): undefined
| boolean
undefined
| boolean
Field.enabled
• set
enabled(e
): void
Name | Type |
---|---|
e |
undefined | boolean |
void
Field.enabled
• get
enforceEnum(): undefined
| boolean
undefined
| boolean
Field.enforceEnum
• get
enum(): undefined
| any
[]
undefined
| any
[]
Field.enum
• set
enum(e
): void
Name | Type |
---|---|
e |
undefined | any [] |
void
Field.enum
• get
enumNames(): undefined
| string
[]
undefined
| string
[]
Field.enumNames
• set
enumNames(e
): void
Name | Type |
---|---|
e |
undefined | string [] |
void
Field.enumNames
• get
errorMessage(): undefined
| string
undefined
| string
Field.errorMessage
• set
errorMessage(e
): void
Name | Type |
---|---|
e |
undefined | string |
void
Field.errorMessage
• get
exclusiveMaximum(): undefined
| number
undefined
| number
Field.exclusiveMaximum
• set
exclusiveMaximum(eM
): void
Name | Type |
---|---|
eM |
undefined | number |
void
Field.exclusiveMaximum
• get
exclusiveMinimum(): undefined
| number
undefined
| number
Field.exclusiveMinimum
• set
exclusiveMinimum(eM
): void
Name | Type |
---|---|
eM |
undefined | number |
void
Field.exclusiveMinimum
• get
fieldType(): string
string
Field.fieldType
• get
form(): FormModel
Field.form
• get
format(): undefined
| string
returns the format constraint
undefined
| string
Field.format
• get
fragment(): string
string
Field.fragment
• get
id(): string
string
Field.id
• get
index(): number
number
Field.index
• get
isContainer(): boolean
boolean
Field.isContainer
• get
label(): undefined
| Label
undefined
| Label
Field.label
• set
label(l
): void
Name | Type |
---|---|
l |
undefined | Label |
void
Field.label
• get
lang(): undefined
| string
undefined
| string
Field.lang
• get
maxLength(): undefined
| number
undefined
| number
Field.maxLength
• get
maximum(): undefined
| number
undefined
| number
Field.maximum
• set
maximum(m
): void
Name | Type |
---|---|
m |
undefined | number |
void
Field.maximum
• get
minLength(): undefined
| number
undefined
| number
Field.minLength
• get
minimum(): undefined
| number
undefined
| number
Field.minimum
• set
minimum(m
): void
Name | Type |
---|---|
m |
undefined | number |
void
Field.minimum
• get
name(): undefined
| string
undefined
| string
Field.name
• get
parent(): ContainerModel
Field.parent
• get
pattern(): undefined
| string
undefined
| string
Field.pattern
• get
placeholder(): undefined
| string
undefined
| string
Field.placeholder
• get
properties(): Object
Object
Field.properties
• set
properties(p
): void
Name | Type |
---|---|
p |
Object |
void
Field.properties
• get
qualifiedName(): any
any
Field.qualifiedName
• get
readOnly(): undefined
| boolean
undefined
| boolean
Field.readOnly
• set
readOnly(e
): void
Name | Type |
---|---|
e |
undefined | boolean |
void
Field.readOnly
• get
repeatable(): any
any
Field.repeatable
• get
required(): boolean
boolean
Field.required
• set
required(r
): void
Name | Type |
---|---|
r |
boolean |
void
Field.required
• get
ruleEngine(): RuleEngine
RuleEngine
Field.ruleEngine
• get
screenReaderText(): undefined
| string
undefined
| string
Field.screenReaderText
• get
step(): undefined
| number
undefined
| number
Field.step
• get
tooltip(): undefined
| string
undefined
| string
Field.tooltip
• get
type(): undefined
| string
undefined
| string
Field.type
• get
uniqueItems(): undefined
| boolean
undefined
| boolean
Field.uniqueItems
• get
valid(): any
any
Field.valid
• set
valid(e
): void
Name | Type |
---|---|
e |
any |
void
Field.valid
• get
validity(): any
any
Field.validity
• get
value(): any
any
Field.value
• set
value(v
): void
Name | Type |
---|---|
v |
any |
void
Field.value
• get
visible(): undefined
| boolean
undefined
| boolean
Field.visible
• set
visible(v
): void
Name | Type |
---|---|
v |
undefined | boolean |
void
Field.visible
• _eventSource: EventSource
= EventSource.CODE
▸ change(event
, context
): void
Name | Type |
---|---|
event |
Action |
context |
any |
void
▸ dispatch(action
): void
Name | Type |
---|---|
action |
Action |
void
▸ executeAction(action
): void
Executes the given action
Name | Type | Description |
---|---|---|
action |
Action |
event object |
void
▸ executeExpression(expr
): any
Name | Type |
---|---|
expr |
string |
any
▸ focus(): void
void
▸ getDependents(): string
[]
string
[]
▸ getErrorMessage(constraint
): string
Returns the error message for a given constraint
Name | Type |
---|---|
constraint |
keyof ConstraintsMessages |
string
▸ getNonTransparentParent(): ContainerModel
▸ getRules(): Items
<string
>
Items
<string
>
▸ getState(isRepeatableChild?
, forRestore?
): Object
state of the form object
Name | Type | Default value |
---|---|---|
isRepeatableChild |
boolean |
false |
forRestore |
boolean |
false |
Object
Name | Type |
---|---|
:type |
string |
_dependents |
undefined | string [] |
accept? |
string [] |
allowedComponents |
undefined |
altText? |
string |
appliedCssClassNames? |
string |
buttonType? |
string |
checked? |
boolean |
columnClassNames |
undefined |
columnCount |
undefined |
constraintMessages? |
ConstraintsMessages |
dataRef? |
null | string |
default? |
any |
description? |
string |
displayFormat |
undefined | string |
displayValue |
any |
displayValueExpression? |
string |
editFormat |
undefined | string |
editValue |
any |
emptyValue? |
"" | "undefined" | "null" |
enabled |
undefined | boolean |
enforceEnum? |
boolean |
enum? |
any [] |
enumNames? |
string [] |
errorMessage? |
string |
events? |
Items <undefined | string | string []> |
exclusiveMaximum? |
number |
exclusiveMinimum? |
number |
fieldType? |
string |
format? |
string |
gridClassNames |
undefined |
id |
string |
index |
number |
label? |
Label |
lang? |
string |
maxFileSize? |
string | number |
maxItems? |
number |
maxLength? |
number |
maxOccur? |
number |
maximum? |
number |
minItems? |
number |
minLength? |
number |
minOccur? |
number |
minimum? |
number |
name? |
string |
parent |
undefined |
pattern? |
string |
placeholder? |
string |
properties |
{ [key: string]: any ; } |
qualifiedName |
any |
readOnly |
undefined | boolean |
repeatable? |
boolean |
required? |
boolean |
rules? |
Items <string > |
screenReaderText? |
string |
step? |
number |
tooltip? |
string |
type? |
string |
uniqueItems? |
boolean |
valid? |
boolean |
validationExpression? |
string |
validationMessage? |
string |
validity? |
any |
value? |
any |
viewType? |
string |
visible? |
boolean |
▸ isTransparent(): boolean
Transparent form fields are meant only for creation of view. They are also not part of data
boolean
▸ markAsInvalid(message
, constraint?
): void
API to mark a particular field as invalid
Name | Type | Default value | Description |
---|---|---|---|
message |
string |
undefined |
error message |
constraint |
null | keyof ConstraintsMessages |
null |
constraint type due to which field is marked invalid. It should be key of ConstraintsMessages or null |
void
▸ ruleNodeReference(): any
any
▸ syncDataAndFormModel(dataNode
): void
Name | Type |
---|---|
dataNode |
default |
void
▸ toString(): any
any
▸ triggerValidationEvent(changes
): void
Name | Type |
---|---|
changes |
any |
void
▸ validate(): ValidationError
[]
Validates the current form object
▸ valueOf(): any
any