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
A simple decorator that would disable the control if a given condition is met. Similar to how @AddValidatorIf works where a validator is added if a given condition is met but instead of adding a validator it would disable the control.
In order for the form to not ignore the field, I recommend simply applying a css class similar to this one by default:
And maybe through the use of a configuration object we could pass to the decorator we could specify if we actually want the default behavior of disabled fields.
The text was updated successfully, but these errors were encountered:
A simple decorator that would disable the control if a given condition is met. Similar to how @AddValidatorIf works where a validator is added if a given condition is met but instead of adding a validator it would disable the control.
In order for the form to not ignore the field, I recommend simply applying a css class similar to this one by default:
And maybe through the use of a configuration object we could pass to the decorator we could specify if we actually want the default behavior of disabled fields.
The text was updated successfully, but these errors were encountered: