ng-dynamic-forms
ng-dynamic-forms copied to clipboard
Add support for "inputmode"
I'm submitting a
[ ] Bug / Regression
[X] Feature Request / Proposal
[ ] Question
I'm using
NG Dynamic Forms Version: `X.Y.Z`
[ ] Basic UI
[ ] Bootstrap UI
[ ] Foundation UI
[ ] Ionic UI
[ ] Kendo UI
[x] Material
[ ] NG Bootstrap
[ ] Prime NG
Description
It would be nice to add support for setting the "inputmode" attribute on a form field (see also https://html.spec.whatwg.org/multipage/interaction.html#input-modalities%3A-the-inputmode-attribute)
@mpschaeuble Hi!
Nice proposal but the overall browser support seems to be very poor.
Are there any known side effects?
I agree, browser support is limited. But in my opinion, this feature is most likely relevant on mobile devices and Android supports it (which is the most common OS for mobile devices). So a large user group should be able to make use of that feature.
@mpschaeuble , I agree this is actually a property for touch related mediums and these are used 80-90% by the android browser or chrome.
All in all it wouldn't hurt having this attribute as browser which don't know it just won't use it.
Would you make an pull request featuring this? It would be needed in all libraries expect ionic ( and kendo? )