I am currently working on developing a form using Angular2 and PrimeNg. I have implemented a button that should be disabled when the form is not dirty or invalid. Oddly enough, everything functions perfectly in Chrome, but not in IE11. The code snippet for the button: the Modify button remains enabled even when it should be disabled.
<button pButton type="submit" icon="fa-pencil" (click)="modify()"
[disabled]="!form.dirty || form.invalid ||
disableModifyButton" disabled="true" label="Modify"></button>
Does anyone have any suggestions on how to resolve this issue?