cancel
Showing results for 
Search instead for 
Did you mean: 

Show only numeric keypad for Textinput when is it TextFormat.Number

It make sense when the Textinput Format is TextFormat.Number, the keyboard on Android or iOS should be numbers only, not the whole QWERTY.

Status: Completed

Text inputs now have a property called VirtualKeyboardMode. This is a hint to touch screen devices about what sort of virtual keyboard to use.

  • Text. For entering text in the user's language.
  • Numeric. For entering numbers, including decimals and negative numbers.
  • Auto. Use the same value as the Mode property of the text input.

Support varies depending on devices. The keyboard layout and what keys are are available may be different. For example, some Samsung devices do not have negative symbols in numeric keyboard. Users can always install a different Android keyboard that is suitable for their needs.

 

Minimum iOS version: 12.2

Recommended Android version: 9.0

Not supported on Windows.

Comments
Level: Powered On

I was able to get it to default to the number/punctuation keyboard.  I was not able to get it to default to the numeric keypad, which is what I was expecting.

 

keypad.png

Level: Powered On

@vsslasd 

@tahoon 

 

Thanks. It was the upgrade. I upgraded the iOS to the newest software and it worked. Yay! So excited!

Level: Powered On

@jont22  I was expecting it to look like your example also. I'm grateful for what I got but I wonder why they did it that way. I've never even seen a numeric keypad (modern day) with the punctuation like that BUT again I'm grateful its not qwerty!

PowerApps Staff

The reason the number keyboard with punctuation is shown instead of the PIN keypad is because numbers can have decimal points. Some people may also want to enter negative numbers. Unfortunately, the PIN keypad in iOS does not allow users to switch to another keyboard if they want to enter symbols. The full number keyboard allow users to switch to a different keyboard.

Level: Powered On

@tahoon  Thank you for your explanation and your efforts in trying to satisfy all of us! This is a great feature and much needed.

PowerApps Staff
Status changed to: Completed

Text inputs now have a property called VirtualKeyboardMode. This is a hint to touch screen devices about what sort of virtual keyboard to use.

  • Text. For entering text in the user's language.
  • Numeric. For entering numbers, including decimals and negative numbers.
  • Auto. Use the same value as the Mode property of the text input.

Support varies depending on devices. The keyboard layout and what keys are are available may be different. For example, some Samsung devices do not have negative symbols in numeric keyboard. Users can always install a different Android keyboard that is suitable for their needs.

 

Minimum iOS version: 12.2

Recommended Android version: 9.0

Not supported on Windows.

WPB
Level 8

@Kavishi_MSFT My users are blocked because the keyboard they have only display digits and a dot to enter the number but, the application only accepts le comma. Is there a solution for that?

PowerApps Staff

The keys that are available on the keyboard depend entirely on the device and its settings. If there are some devices that do not show the appropriate keys, set VirtualKeyboardMode to Text. This will show the full keyboard on all devices. The TextInput Mode can still remain as Numeric.

WPB
Level 8

Ty!

Level 10

@WPB 

First please post a question on the board next time, now all 135 people receive your question.

 

For your question I would suggest you keep the benefit of the numeric keyboard and first try if submit() or patch() the value like Value(YourInputControl.Text) to see if your application is capable to convert the dot into a comma by it self. If not the use the substitute() formula to change the dot into a comma. Like Substitute(YourInputControl.Text, ".",",")

 

Greatings Paul