You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This false state is not binding to form elements in ngxformly html elemnts but in child component ngonchanges lifecycle hook I can see disabled value updated once I click button
Is there any way that I can update form elements disabled state once the value is changed from parent component ?
The text was updated successfully, but these errors were encountered:
I am passing value of form elements disabled state as true or false from parent component.
So in child component I am using @input() disabled :Boolean
First load I am getting value from parent to child but I need to change this disabled state from true to false upon button click .,
Upon buton click the change in disabled state is passed from parent to child as
Parent component
<cm-child [disabled]="disabledstatus">
Child component
@input() disabled : string
This false state is not binding to form elements in ngxformly html elemnts but in child component ngonchanges lifecycle hook I can see disabled value updated once I click button
Is there any way that I can update form elements disabled state once the value is changed from parent component ?
The text was updated successfully, but these errors were encountered: