Is it possible to have an InputType property added to the MaskedTextBox control? Or, can an input mask be applied to a text box which already has the InputType property?
A use case could be where we need users to enter a time, so if they load the page/form up on their mobile device, the time wheel/picker will appear allowing the user to easily change the time value, but if the same page loads on a desktop machine, then just the time mask will appear allowing the user to TAB into the textbox control and enter the time.
The same would be true for date fields, i.e. on a mobile device, setting the InputType to date would show the date picker (scroller wheels on iPhone), whereas on a desktop machine it would show the date picker drop down calendar.
Small customisations like this will help with building a responsive web app that will be able to cater for both desktop and mobile devices without the need to ‘swap’ controls at runtime based on the user device.
thank you. I have logged WJ-8267 for this enhancement request.
Please login first to submit.