ng2-codemirror icon indicating copy to clipboard operation
ng2-codemirror copied to clipboard

Implemented setDisabledState method to support disable

Open elvinmeza opened this issue 7 years ago • 0 comments

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.

elvinmeza avatar Feb 28 '18 04:02 elvinmeza