Fixed #6721 - Forms: InputNumber Field Not Showing Red Border on Error State
parent
3b70777c90
commit
99b5d73a7c
|
@ -3,6 +3,7 @@
|
|||
<InputText
|
||||
ref="input"
|
||||
:id="inputId"
|
||||
:name="$formName"
|
||||
role="spinbutton"
|
||||
:class="[cx('pcInputText'), inputClass]"
|
||||
:style="inputStyle"
|
||||
|
|
|
@ -165,6 +165,7 @@ const classes = {
|
|||
root: ({ instance, props }) => [
|
||||
'p-inputnumber p-component p-inputwrapper',
|
||||
{
|
||||
'p-invalid': instance.$invalid,
|
||||
'p-inputwrapper-filled': instance.$filled || props.allowEmpty === false,
|
||||
'p-inputwrapper-focus': instance.focused,
|
||||
'p-inputnumber-stacked': props.showButtons && props.buttonLayout === 'stacked',
|
||||
|
|
Loading…
Reference in New Issue