On Android, when the selector is touched, the keyboard input appears. I suspect this is because the generated input is of type="text".
How can I prevent this from happening? If the user is choosing from a drop-down list, it does not make sense for the keyboard to appear.
I'm implementing selectize as an Angular module angular-selectize, but I checked with the developer and the issue is not specific to the angular wrapper.
Here is my code:
<selectize ng-model="filters.min_bedrooms"
options="[
{title:'0', id:0},
{title:'1', id:1},
{title:'2', id:2},
]">
</selectize>
Which generates this markup:
<input type="text" autocomplete="off" tabindex="" style="width: 4px; opacity: 0; position: absolute; left: -10000px;">
selectize.js
when their main objective is the combination oftext
&select
? Please correct me if I understand it wrong. – Orthodontics