InputHintsValidation
So validieren Sie Eingabehinweise, die mit den Attributen „data-tchmikeyboard-min“ und „data-tchmikeyboard-max“ für Eingabeelemente festgelegt werden können. „None“: Es wird keine Validierung durchgeführt. „HighlightHints“: Eingabehinweise, die durch den aktuell eingegebenen Wert verletzt werden, werden rot hervorgehoben. „DisableAccept“: Zusätzlich zur Hervorhebung wird die Akzeptieren-Taste deaktiviert.
Schema: tchmi:framework#/definitions/TcHmi.Controls.Beckhoff.TcHmiKeyboard.ValidationLevel
Attribut-Getter
public getInputHintsValidation(): 'None' | 'HighlightHints' | 'DisableAccept' | undefined;Parameter
Name | Typ | Beschreibung |
|---|---|---|
- | - | - |
Rückgabewert
Typ | Beschreibung |
|---|---|
'None', 'HighlightHints', 'DisableAccept', undefined | Der aktuelle Wert des Attributs. |
Attribut-Setter
public setInputHintsValidation(valueNew: ValidationLevel | keyof typeof ValidationLevel | null): void;Parameter
Name | Typ | Beschreibung |
|---|---|---|
valueNew | ValidationLevel, keyof typeof ValidationLevel, null | Der neue Wert des Attributs. Wird null übergeben, so wirkt der interne Standardwert. |
Rückgabewert
Typ | Beschreibung |
|---|---|
void | Kein Rückgabewert. |
![]() | Verfügbar ab Version 1.12 |
