Suppose I have code:
<ion-item>
<ion-input formControlName="someCtrl" [disabled]="lockControl"></ion-input>
<ion-icon name="{{lockControl? 'unlock' : 'lock'}}" (click)="handler()"></ion-icon>
</ion-item>
When I click the ion-icon, the ion-input can be disabled as I expect. But unfortunately, the click event of ion-icon is also disabled as well, which I don’t expect. Then I discover that if I disable the input, whole ion-item become “item-interactive-disabled” so the icon is disabled.
How can I solve this problem?