ng2-codemirror
ng2-codemirror copied to clipboard
Implemented setDisabledState method to support disable
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.