InputHintsValidation
How to validate input hints that can be defined for input elements using the "data-tchmikeyboard-min" and "data-tchmikeyboard-max" attributes. "None": No validation is performed. "HighlightHints": Input hints that are violated by the currently entered value are highlighted in red. "DisableAccept": In addition to highlighting, the Accept button is disabled.
Schema: tchmi:framework#/definitions/TcHmi.Controls.Beckhoff.TcHmiKeyboard.ValidationLevel
Attribute getter
public getInputHintsValidation(): 'None' | 'HighlightHints' | 'DisableAccept' | undefined;Parameter
Name | Type | Description |
|---|---|---|
- | - | - |
Return value
Type | Description |
|---|---|
'None', 'HighlightHints', 'DisableAccept', undefined | The current value of the attribute. |
Attribute setter
public setInputHintsValidation(valueNew: ValidationLevel | keyof typeof ValidationLevel | null): void;Parameter
Name | Type | Description |
|---|---|---|
valueNew | ValidationLevel, keyof typeof ValidationLevel, null | The new value of the attribute. If null is passed, the internal default value is used. |
Return value
Type | Description |
|---|---|
void | No return value. |
![]() | Available from version 1.12 |
