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

Component: PrimeNG Slider with range values not working properly #15404

Closed
Mohid123 opened this issue Apr 30, 2024 · 0 comments · Fixed by #15805 · 4 remaining pull requests
Closed

Component: PrimeNG Slider with range values not working properly #15404

Mohid123 opened this issue Apr 30, 2024 · 0 comments · Fixed by #15805 · 4 remaining pull requests
Assignees
Labels
Component: Documentation Issue or pull request is related to Documentation
Milestone

Comments

@Mohid123
Copy link

Mohid123 commented Apr 30, 2024

Describe the bug

The slider component doesn't seem to work properly when used with range values. Even the Stackblitz link provided in the official documentation does not work. The slider shows only one toggle handle and it refuses to move when interacted with.
image
The only workaround is to add an input field above it and bind the values using ngModel. Then the slider becomes available with range values.
image
I can make it work by applying visibility: hidden to the input field, but it's more of a temporary hack and not a proper solution.

Environment

I have setup a fresh Angular 17 project with Node v. 20.11.0 and PrimeNg v 17.13.0.

Reproducer

https://stackblitz.com/edit/j7y2ck?file=package.json

Angular version

17.3.0

PrimeNG version

17.13.0

Build / Runtime

Angular CLI App

Language

TypeScript

Node version (for AoT issues node --version)

20.11.0

Browser(s)

No response

Steps to reproduce the behavior

No response

Expected behavior

The slider should work properly regardless of how the values are bound and without the use of an input field to make it work.

@Mohid123 Mohid123 added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Apr 30, 2024
@mehmetcetin01140 mehmetcetin01140 added Type: Bug Issue contains a bug related to a specific component. Something about the component is not working and removed Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible labels Jun 6, 2024
@mehmetcetin01140 mehmetcetin01140 added this to the 17.18.1 milestone Jun 6, 2024
@mehmetcetin01140 mehmetcetin01140 added Component: Documentation Issue or pull request is related to Documentation and removed Type: Bug Issue contains a bug related to a specific component. Something about the component is not working labels Jun 7, 2024
@mehmetcetin01140 mehmetcetin01140 self-assigned this Jun 7, 2024
cetincakiroglu added a commit that referenced this issue Jun 13, 2024
Fixed #15404 - Component: PrimeNG Slider with range values not workin…
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment