mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-10 01:12:37 +00:00
Fixed #5132 - Calendar: 'view' property has no effect when changed after component initialization
This commit is contained in:
parent
f9a7815d30
commit
2e79cc286e
1 changed files with 3 additions and 0 deletions
|
@ -592,6 +592,9 @@ export default {
|
||||||
},
|
},
|
||||||
currentView() {
|
currentView() {
|
||||||
Promise.resolve(null).then(() => this.alignOverlay());
|
Promise.resolve(null).then(() => this.alignOverlay());
|
||||||
|
},
|
||||||
|
view(newValue) {
|
||||||
|
this.currentView = newValue;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue