diff --git a/components/lib/inputnumber/style/InputNumberStyle.js b/components/lib/inputnumber/style/InputNumberStyle.js index f67e31e84..59b03a32b 100644 --- a/components/lib/inputnumber/style/InputNumberStyle.js +++ b/components/lib/inputnumber/style/InputNumberStyle.js @@ -109,7 +109,7 @@ const classes = { root: ({ instance, props }) => [ 'p-inputnumber p-component p-inputwrapper', { - 'p-inputwrapper-filled': instance.filled, + 'p-inputwrapper-filled': instance.filled || props.allowEmpty === false, 'p-inputwrapper-focus': instance.focused, 'p-inputnumber-buttons-stacked': props.showButtons && props.buttonLayout === 'stacked', 'p-inputnumber-buttons-horizontal': props.showButtons && props.buttonLayout === 'horizontal',