我正在使用Ionic将angularJS webapp重构为移动应用程序并取得巨大成功。但是,我有两个不再正常运行的SELECT元素。一个应选择“月”,另一个应选择“年”。问题是,当我点击/点击其中任何一个时,他们都打开“年”选择选项。我认为它们可能会被浓缩关闭,而我选择元素是“Fat Fingering”,但我在它们之间添加了边距并将它们分开并且仍在发生。
有人可以看看下面的内容并告诉我他们是否看到任何可能造成这种情况的事情?
谢谢,
乙
< div class =“card-date-housing”>
< div class =“form-group date-select”>
< label for =“year”class =“item-select security-select”>到期月份
< select id =“month”class =“form-control custom”ng-model =“billingInfo.ExpMonth”ng-options =“month.id for months in months months month.id”tabindex =“2”required>
< /选择>
< /标签>
< / DIV>
< / DIV>
< div class =“card-date-housing”>
< div class =“form-group date-select”>
< label for =“year”class =“item-select security-select”>到期年份
< select id =“year”class =“form-control custom”ng-model =“billingInfo.ExpYear”ng-options =“year.display for year in years track by year.id”tabindex =“3”required>
< /选择>
< /标签>
< / DIV>
< / DIV>