离子SASS变量不适用于禁用验证突出显示

时间:2018-10-23 06:10:32

标签: css angular ionic-framework sass ionic3

我有一个Ionic应用程序,并且我试图在其中ion-items的{​​{1}}上禁用自动验证突出显示。例如,inputs在代码中的外观如下:

ion-item

这是CSS文件的外观:

<ion-item>
   <ion-label class="randomClass" >Bigger number</ion-label>
   <ion-input type="number" (ionBlur)="updateFields()" [(ngModel)]="biggerNumber" formControlName="biggerNumber" ></ion-input>
</ion-item>

但是,如果值正确,我会在$text-input-md-show-error-highlight: false; $text-input-md-show-success-highlight: false; $text-input-wp-show-invalid-highlight: false; $text-input-wp-show-valid-highlight: false; $text-input-ios-show-valid-highlight: false; $text-input-ios-show-invalid-highlight: false; 上看到验证突出显示(绿线):

enter image description here

这里是显示问题的STACKBLITZ

0 个答案:

没有答案
相关问题