Currently the control doesn't implement this method of the ControlValueAccesor, so specifying disabled: true when creating the form group or calling the enable() or disable() method from the control have no effect. The only way to achieve it was to set the option readOnly of the Codemirror config directly.
Currently the control doesn't implement this method of the ControlValueAccesor, so specifying
disabled: true
when creating the form group or calling theenable()
ordisable()
method from the control have no effect. The only way to achieve it was to set the optionreadOnly
of the Codemirror config directly.