mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
fix readonly prop's does not react to change
This commit is contained in:
parent
8c76a94df0
commit
63df50b6e0
1 changed files with 6 additions and 0 deletions
|
@ -75,6 +75,9 @@ export default {
|
|||
this.reRenderColorKey++;
|
||||
this.renderValue(newValue);
|
||||
}
|
||||
},
|
||||
readonly() {
|
||||
this.handleReadOnlyChange();
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
|
@ -165,6 +168,9 @@ export default {
|
|||
if (this.quill && this.quill.getModule('toolbar')) {
|
||||
this.$emit('load', { instance: this.quill });
|
||||
}
|
||||
},
|
||||
handleReadOnlyChange() {
|
||||
if (this.quill) this.quill.enable(!this.readonly);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue