Fix "InputNumber: float label initially broken if allowEmpty = false"

pull/4789/head
Federico Boscherini 2023-11-09 19:33:48 +01:00
parent 5e341367c2
commit d511e42d7f
1 changed files with 1 additions and 1 deletions

View File

@ -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',