Simple html select not working on android chrome

旧时模样 提交于 2019-12-09 17:59:09

问题


I'm having trouble with google chrome for android.

My select tag in html doesn't work there, but it works on desktop google chrome and other browsers, even in safari and apple mobile devices, just not in google chrome for android.

I've tried other apps that have normal selects and they seem to work in mobile google chrome.

Here's an example of what's happening:

I have no idea how to fix this issue. If anyone could give me hints on what could be the reason.

This is the select:

<select class="form-control" name="cardType" ng-model="payment.cardType" required>
  <option value="AMEX">AMEX</option>
  <option value="DINE">DINE</option>
  <option value="DSVR">DSVR</option>
  <option value="MCRD">MCRD</option>
  <option value="VISA">VISA</option>
</select>

来源:https://stackoverflow.com/questions/40312436/simple-html-select-not-working-on-android-chrome

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!