Closed arturovt closed 2 years ago
Currently, it's not possible to provide the initial disabled value from the form control options, e.g.:
<editor [formControl]="control" [init]="{ ... }"></editor> control = new FormControl({ value: '', disabled: true });
We already have the disabled property which will:
disabled
setMode
finalInit
I think we are missing a setMode on an init_instance_callback to ensure the state is always the latest change.
init_instance_callback
Currently, it's not possible to provide the initial disabled value from the form control options, e.g.:
We already have the
disabled
property which will:setMode
if editor is already createddisabled
property, thus it will be retrieved later within thefinalInit
object