Polymer / pwa-starter-kit

Starter templates for building full-featured Progressive Web Apps from web components.
https://pwa-starter-kit.polymer-project.org
2.36k stars 431 forks source link

How to show numeric key-board on iOS together with npm module for currency format? #279

Closed Ross1307 closed 5 years ago

Ross1307 commented 5 years ago

I'm building a PWA and want to show numeric key-board to users instead of text keyboard. But I also use currency masking to make sure the number is shown in right euro format.

Anybody has a solution on this? I already checked the following and many links on Stackoverflow and other groups. Maybe somebody here has a tip.

keanulee commented 5 years ago

I think <input type="number"> (or maybe <input type="tel"> if you don't need decimals) could be helpful, but there isn't really a better way to customize the native keyboard on mobile.

Ross1307 commented 5 years ago

I think <input type="number"> (or maybe <input type="tel"> if you don't need decimals) could be helpful, but there isn't really a better way to customize the native keyboard on mobile.

thanks. But yes we need to make it currency format (with decimals) :-/

frankiefu commented 5 years ago

Closing as a bit out of scope for pwa-starter-kit project.