Merge pull request #4789 from kaeldric/master
Fix "InputNumber: float label initially broken if allowEmpty = false"pull/4829/head
commit
1914bc501a
|
@ -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',
|
||||||
|
|
Loading…
Reference in New Issue