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

Material UI Range widget does not show the current value #1674

Closed
3 tasks done
heath-freenome opened this issue Mar 24, 2020 · 4 comments
Closed
3 tasks done

Material UI Range widget does not show the current value #1674

heath-freenome opened this issue Mar 24, 2020 · 4 comments

Comments

@heath-freenome
Copy link
Member

heath-freenome commented Mar 24, 2020

Prerequisites

Description

Unlike the Bootstrap version, which shows the current value, the material UI version of the RangeWidget does not.

Steps to Reproduce

  1. Go to the playground and click on the Numbers tab
  2. Move the slider and notice the value being displayed below the slider is changed
  3. Switch to the material UI view and move the slider and notice there is no value being displayed

Expected behavior

I would expect to see the value in the Material UI RangeWidget

Actual behavior

I don't see the value like I do for the bootstrap version...

NOTE: There is a single prop for the Material UI Slider that can be enabled to do this automatically. Setting the valueLabelDisplay prop to on will show the current value as a tooltip, always as shown here. It should be an extremely simple fix, simply add the prop after this line.

Version

Whatever version the playground uses

@heath-freenome
Copy link
Member Author

@epicfaace Is this something you can do easily?

@dekelb
Copy link

dekelb commented Mar 25, 2020

Once #1672 is merged this can be resolved

@stanlemon
Copy link
Contributor

I'm offering a short term fix in #1822

epicfaace pushed a commit that referenced this issue Jun 20, 2020
Currently there is no visual indication of the value in the Material UI <RangeWidget />, adding this property and specifying 'auto' will make the value appear when hovering over the slider.

Addresses #1674
anikethsaha pushed a commit to MLH-Fellowship/react-jsonschema-form that referenced this issue Jul 21, 2020
Currently there is no visual indication of the value in the Material UI <RangeWidget />, adding this property and specifying 'auto' will make the value appear when hovering over the slider.

Addresses rjsf-team#1674
@stale
Copy link

stale bot commented Jun 20, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Please leave a comment if this is still an issue for you. Thank you.

@stale stale bot added the wontfix label Jun 20, 2022
@stale stale bot closed this as completed Jul 4, 2022
Issues - @rjsf/material-ui automation moved this from Low priority to Closed Jul 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

No branches or pull requests

3 participants