-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Slider with range and max=10 - initial right slider position is 1000 #3738
Comments
MelodyAnn84
added
the
Status: Needs Triage
Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
label
Dec 2, 2022
melloware
added a commit
to melloware/primereact
that referenced
this issue
Dec 3, 2022
melloware
added
Type: Bug
Issue contains a defect related to a specific component.
and removed
Status: Needs Triage
Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
labels
Dec 3, 2022
Thanks for the reproducer. Definitely a bug |
melloware
added a commit
that referenced
this issue
Dec 3, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
Try to set max={10} in the code here -
primereact/pages/datatable/filter.js
Line 242 in d5331d1
see that the initial state of the right slider is way out of boundaries ( set to 100*10 in this case ).
Reproducer
https://codesandbox.io/s/3rso2u?file=/src/demo/DataTableFilterDemo.tsx
PrimeReact version
8.7.2
React version
18.x
Language
TypeScript
Build / Runtime
Create React App (CRA)
Browser(s)
No response
Steps to reproduce the behavior
Expected behavior
Slider to behave exactly like it does with the default value, just within 0-10 range.
The text was updated successfully, but these errors were encountered: