0
下面的檢查是我的代碼如何禁用按鈕,除非複選框沒有離子
<li class="item item-checkbox checkbox-assertive">I have read and agree to abide by the<br/> <a ng-click="showPopup()">terms and conditions</a>
<label class="checkbox">
<input type="checkbox" name="accept" required>
</label>
</li>
<a ng-href="#/search/{{select.mySelect}}/{{select.mySelect1}}" id="bloodBankIndia-button1" class=" button button-assertive button-block icon-left ion-ios-search " ng-disabled="form.$invalid || form1.$invalid">Search</a>
</div>
錨標籤不能禁用和按鈕可以。在離子框架中,您可以使用'ui-sref'屬性來瀏覽頁面。爲按鈕設置'ui-sref'並禁用它們。 – Harish