diff --git a/packages/primevue/src/inputnumber/InputNumber.vue b/packages/primevue/src/inputnumber/InputNumber.vue index 9d7a4b30e..e1c13c521 100755 --- a/packages/primevue/src/inputnumber/InputNumber.vue +++ b/packages/primevue/src/inputnumber/InputNumber.vue @@ -3,6 +3,7 @@ [ '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',