I get the following error, when I click a button which I set to show and hide a form field. and I could not figure it out, how to resolve it
ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value: 'disabled: false'. Current value: 'disabled: true'.
at viewDebugError (core.js:20496)
at expressionChangedAfterItHasBeenCheckedError (core.js:20484)