Assalam, i did exactly same its working in computer browser, but not working in ipad (after compiling and installed as app).
my code is
HTML: <ion-button fill="outline" style="vertical-align: -webkit-baseline-middle" id="practiceBut" [disabled]="practiceButDisabled">Practice</ion-button>
Even i tried as bolean (twodButDisabled = true) its not working in ipad, but in browser its working. if i call the same function checkEnableButtons(selLesDetails) when clicking some other button instead of
There should not be any need to ever directly access document or window here. Angular is in charge of event management and updating; let change detection do its job. Do not use the != operator, ever. Only !==. But you almost never want to explicitly be checking for equality with undefined or ""; just let the concept of truthiness do its work here.