mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
Fixed #5593 - Hydration defects
This commit is contained in:
parent
8365a30f5b
commit
6615f31d8a
30 changed files with 120 additions and 151 deletions
|
@ -88,11 +88,8 @@ export default {
|
|||
};
|
||||
},
|
||||
watch: {
|
||||
'$attrs.id': {
|
||||
immediate: true,
|
||||
handler: function (newValue) {
|
||||
this.id = newValue || UniqueComponentId();
|
||||
}
|
||||
'$attrs.id': function (newValue) {
|
||||
this.id = newValue || UniqueComponentId();
|
||||
}
|
||||
},
|
||||
documentKeydownListener: null,
|
||||
|
@ -127,6 +124,8 @@ export default {
|
|||
this.mask = null;
|
||||
},
|
||||
mounted() {
|
||||
this.id = this.id || UniqueComponentId();
|
||||
|
||||
if (this.breakpoints) {
|
||||
this.createStyle();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue