diff --git a/components/lib/confirmdialog/ConfirmDialog.vue b/components/lib/confirmdialog/ConfirmDialog.vue index e8cd24b8d..d0a4d54f7 100644 --- a/components/lib/confirmdialog/ConfirmDialog.vue +++ b/components/lib/confirmdialog/ConfirmDialog.vue @@ -21,7 +21,7 @@ diff --git a/components/lib/confirmdialog/style/ConfirmDialogStyle.js b/components/lib/confirmdialog/style/ConfirmDialogStyle.js index d42fc578f..c9f568ab5 100644 --- a/components/lib/confirmdialog/style/ConfirmDialogStyle.js +++ b/components/lib/confirmdialog/style/ConfirmDialogStyle.js @@ -2,7 +2,7 @@ import BaseStyle from 'primevue/base/style'; const classes = { root: 'p-confirm-dialog', - icon: ({ instance }) => ['p-confirm-dialog-icon', instance.confirmation ? instance.confirmation.icon : null], + icon: 'p-confirm-dialog-icon', message: 'p-confirm-dialog-message', rejectButton: ({ instance }) => ['p-confirm-dialog-reject', instance.confirmation && !instance.confirmation.rejectClass ? 'p-button-text' : null], acceptButton: 'p-confirm-dialog-accept' diff --git a/components/lib/confirmpopup/ConfirmPopup.vue b/components/lib/confirmpopup/ConfirmPopup.vue index 326b05882..9292d01e8 100644 --- a/components/lib/confirmpopup/ConfirmPopup.vue +++ b/components/lib/confirmpopup/ConfirmPopup.vue @@ -8,7 +8,7 @@
- + {{ confirmation.message }}
diff --git a/components/lib/confirmpopup/style/ConfirmPopupStyle.js b/components/lib/confirmpopup/style/ConfirmPopupStyle.js index 7be86f603..8f60a2ae7 100644 --- a/components/lib/confirmpopup/style/ConfirmPopupStyle.js +++ b/components/lib/confirmpopup/style/ConfirmPopupStyle.js @@ -83,7 +83,7 @@ const classes = { } ], content: 'p-confirm-popup-content', - icon: ({ instance }) => ['p-confirm-popup-icon', instance.confirmation ? instance.confirmation.icon : null], + icon: 'p-confirm-popup-icon', message: 'p-confirm-popup-message', footer: 'p-confirm-popup-footer', rejectButton: ({ instance }) => ['p-confirm-popup-reject', instance.confirmation && !instance.confirmation.rejectClass ? 'p-button-sm p-button-text' : null], diff --git a/components/lib/inputnumber/InputNumber.vue b/components/lib/inputnumber/InputNumber.vue index 66625842f..7c2e3d2d4 100755 --- a/components/lib/inputnumber/InputNumber.vue +++ b/components/lib/inputnumber/InputNumber.vue @@ -956,6 +956,10 @@ export default { input.value = this.formatValue(newValue); input.setAttribute('aria-valuenow', newValue); this.updateModel(event, newValue); + + if (!this.disabled && !this.readonly && this.highlightOnFocus) { + DomHandler.clearSelection(); + } }, clearTimer() { if (this.timer) { diff --git a/components/lib/sidebar/Sidebar.vue b/components/lib/sidebar/Sidebar.vue index 6653a5e18..2985ab20b 100755 --- a/components/lib/sidebar/Sidebar.vue +++ b/components/lib/sidebar/Sidebar.vue @@ -2,7 +2,7 @@
-
+