Derive the readonly attribute from model.isReadOnly()

This commit is contained in:
Ash Wilson
2018-04-12 13:23:12 -04:00
parent 6ee477a329
commit 1545768522

View File

@@ -477,7 +477,7 @@ class TextEditorComponent {
attributes.mini = ''
}
if (!this.isInputEnabled()) {
if (!model.isReadOnly()) {
attributes.readonly = ''
}