/HTMLInputElement due to some browser limitations! Maskito accepts only the types whose support the following native properties/methods:
selectionStartselectionEndsetSelectionRange According to the WHATWG forms spec they apply only to inputs of types text , search , URL , tel and password .
All other types will not work properly with Maskito!
All examples below are demonstrations to see different supported types in action.
<input type="text" /> is the default, the simplest and the most popular type of input-element. <input type="tel" /> is a control for entering a telephone number. <input type="password" /> is a single-line text field whose value is obscured. <input type="url" /> is a field for entering a URL. <input type="search" /> is a single-line text field for entering search strings.