Bixby Developer Center

Guides
References

numeric-keypad-enabled

optionalvalue required

If set to true, enables the numeric keypad on devices with screens to allow users to provide numbers. You should set this to true if your regex expression is looking for a specific number input. If your regex input requires other types of characters, set to false.

Example

text-input {
pattern {
regex ("\\d{5}") {
on-error ("Please enter a 5-digit ZIP code")
numeric-keypad-enabled (true)
}
}
}