Merge pull request #4789 from kaeldric/master

Fix "InputNumber: float label initially broken if allowEmpty = false"
pull/4829/head
Tuğçe Küçükoğlu 2023-11-15 19:59:18 +03:00 committed by GitHub
commit 1914bc501a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -109,7 +109,7 @@ const classes = {
root: ({ instance, props }) => [ root: ({ instance, props }) => [
'p-inputnumber p-component p-inputwrapper', '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-inputwrapper-focus': instance.focused,
'p-inputnumber-buttons-stacked': props.showButtons && props.buttonLayout === 'stacked', 'p-inputnumber-buttons-stacked': props.showButtons && props.buttonLayout === 'stacked',
'p-inputnumber-buttons-horizontal': props.showButtons && props.buttonLayout === 'horizontal', 'p-inputnumber-buttons-horizontal': props.showButtons && props.buttonLayout === 'horizontal',