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

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

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

basitiyidir opened this issue Nov 3, 2024 · 0 comments
Assignees
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
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
@tugcekucukoglu tugcekucukoglu modified the milestones: 4.2.3, 4.2.4 Nov 22, 2024
@tugcekucukoglu tugcekucukoglu modified the milestones: 4.2.4, 4.3.0 Nov 26, 2024
@mertsincan mertsincan modified the milestones: 4.3.1, 4.3.0 Jan 6, 2025
@mertsincan mertsincan moved this to Review in PrimeVue Jan 6, 2025
@mertsincan mertsincan self-assigned this Jan 6, 2025
@mertsincan mertsincan added Type: Bug Issue contains a bug related to a specific component. Something about the component is not working and removed Status: Pending Review Issue or pull request is being reviewed by Core Team labels Jan 8, 2025
@github-project-automation github-project-automation bot moved this from Review to Done in PrimeVue Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Projects
Status: Done
Development

No branches or pull requests

3 participants