Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Forms: InputNumber Field Not Showing Red Border on Error State #6721

Open
basitiyidir opened this issue Nov 3, 2024 · 0 comments
Open

Forms: InputNumber Field Not Showing Red Border on Error State #6721

basitiyidir opened this issue Nov 3, 2024 · 0 comments
Labels
Status: Pending Review Issue or pull request is being reviewed by Core Team
Milestone

Comments

@basitiyidir
Copy link

basitiyidir commented Nov 3, 2024

Describe the bug

When submitting the form with invalid input, the first input field is not displaying the expected red border to indicate the error state. While other form elements show proper error styling with red borders, this particular field remains unstyled.

Details:

  • The first input field (InputNumber) maintains its default border style even after validation fails
  • Other form elements correctly display red borders when validation errors occur. (:invalid="$form.amount2?.invalid")
  • This inconsistency affects the user experience and error visibility
  • Expected behavior: The input field should show a red border similar to other fields when there's an error
pic

Reproducer

https://stackblitz.com/edit/nnxd9j-sw8y2g?file=src%2FApp.vue

PrimeVue version

4.2.1

Vue version

4.x

Language

TypeScript

Build / Runtime

Vue CLI App

Browser(s)

No response

Steps to reproduce the behavior

No response

Expected behavior

No response

@basitiyidir basitiyidir added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Nov 3, 2024
@mertsincan mertsincan added Status: Pending Review Issue or pull request is being reviewed by Core Team and removed Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible labels Nov 4, 2024
@mertsincan mertsincan added this to the 4.2.2 milestone Nov 4, 2024
@tugcekucukoglu tugcekucukoglu modified the milestones: 4.2.2, 4.2.3 Nov 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Pending Review Issue or pull request is being reviewed by Core Team
Projects
None yet
Development

No branches or pull requests

3 participants