0

Keyboard="Numeric" changes the default input keyboard to a numeric one, but it also makes it so that only numbers and decimal points are accepted -- and there is no way to switch back to an alphanumerical keyboard.

Does anybody know of a way to have the numeric keyboard appear at first, but allow the user to also input text if needed?

Edit: I need this to work for both Android and iOS

  • You can always have a button somewhere in the UI to toggle the input? Btw. is this Xamarin.Forms or what? – Cheesebaron Aug 25 '21 at 08:01
  • Yes, Xamarin.Forms, sorry. I'll try and see what I can do with your suggestion, thanks. –  Aug 25 '21 at 08:05

1 Answers1

0

You could create your own kayboard with mumber and text like A, B, C, D.....

The link below include how to do this in custom renderer. https://stackoverflow.com/a/60034046/11850033

enter image description here

Wendy Zang - MSFT
  • 10,509
  • 1
  • 7
  • 17
  • Thanks, only 10 letters are needed in addition to numbers so it may be worth it to create a custom keyboard. I'll try this solution. –  Aug 25 '21 at 09:22
  • I just looked into it and it seems this would be a solution for only Android, right? Sorry, I forgot to add in my main post that I need a cross platform solution for both Android and iOS. –  Aug 25 '21 at 23:36
  • You could check the code sample in the link about the ios custom kayboard. https://stackoverflow.com/a/47870883/11850033 – Wendy Zang - MSFT Aug 26 '21 at 07:22