At child.ts, I have a function onButtonClicked which modify revertDisabled from true to false.
Having an issue where the template reference variable at parent.html is still getting value true for revertDisabled variable, even after the user have executed function onButtonClicked() at child.ts which has changed revertDisabled value from true to false.
I have tried solve it by adding @input at parent.ts but still could not access the changed value of revertDisabled .
parent.html
<button type="button" [disabled]="interface.revertDisabled"></button>
<interface-settings #interface></interface-settings>
child.ts (interface-settings.ts)
this.revertDisabled = true;
onButtonClicked() {
this.revertDisabled = false;
}