Input type=search and numeric pad
i need to implement a search input where user type only digits (search items in a list that contain only numbers).
If i write:
- <input type="search" id="searchBox" name="searchBox" />
it is rendered like a input text (it's a input with type=text) with a search icon and, when it's present data, a cancel button.
But, in a mobile device, when user focus to search box must be appear native numeric keypad.
It's possible to add a data property like data-search-type with values (freetext, text, url, numeric, etc...) ?
What do you think about this feature?