Fix "InputNumber: float label initially broken if allowEmpty = false"
parent
5e341367c2
commit
d511e42d7f
|
@ -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