From 284e61245ba2ebcc77b58fb921b712a1d5a30dca Mon Sep 17 00:00:00 2001 From: cagataycivici Date: Wed, 29 Apr 2020 21:54:42 +0300 Subject: [PATCH] Fixed InputNumber border-radius --- src/components/inputnumber/InputNumber.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/inputnumber/InputNumber.vue b/src/components/inputnumber/InputNumber.vue index 6888f2e04..ec14a83e7 100755 --- a/src/components/inputnumber/InputNumber.vue +++ b/src/components/inputnumber/InputNumber.vue @@ -559,9 +559,9 @@ export default { return ['p-inputnumber p-component', { 'p-inputwrapper-filled': this.filled, 'p-inputwrapper-focus': this.focused, - 'p-inputnumber-buttons-stacked': this.buttonLayout === 'stacked', - 'p-inputnumber-buttons-horizontal': this.buttonLayout === 'horizontal', - 'p-inputnumber-buttons-vertical': this.buttonLayout === 'vertical' + 'p-inputnumber-buttons-stacked': this.showButtons && this.buttonLayout === 'stacked', + 'p-inputnumber-buttons-horizontal': this.showButtons && this.buttonLayout === 'horizontal', + 'p-inputnumber-buttons-vertical': this.showButtons && this.buttonLayout === 'vertical' }]; }, upButtonClass() {