getText()
returns the text value of the input with the applied mask
getText(): string;
Returns:
A string with the text with the applied mask
Example
const value = form.getItem("input").getText();
// -> "100000.01"
The method is used with the numberMask
and patternMask
properties of the Input control. It allows getting the value with the applied mask.