Checks if text matches a mask pattern for text-input
, which will only allow certain characters in pre-defined slots.
mask ("(100) 000-0000") {
guide (true)
placeholder-char ("#")
}
The following list defines the symbols used in the mask
parameter:
0
- Number [0-9]1
- Number [1-9]a
- LetterA
- Letter, forced to upper case when entered*
- Alphanumeric#
- Alphanumeric, forced to upper case when enteredThe following are examples of symbols:
guide optional | Boolean |
placeholder-char optional | Placeholder character for masks |
Copyright 2024 Samsung All rights reserved