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.
text-input {
pattern {
regex ("\\d{5}") {
on-error ("Please enter a 5-digit ZIP code")
numeric-keypad-enabled (true)
}
}
}Copyright 2025 Samsung All rights reserved