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

Patch mui range slider for 0 value #3465

Merged
merged 7 commits into from
Mar 3, 2023

Conversation

c-dante
Copy link
Contributor

@c-dante c-dante commented Mar 2, 2023

Reasons for making this change

fixes #3458

If your PR is non-trivial and you'd like to schedule a synchronous review, please add it to the weekly meeting agenda: https://docs.google.com/document/d/12PjTvv21k6LIky6bNQVnsplMLLnmEuypTLQF8a-8Wss/edit

Checklist

  • I'm updating documentation
  • I'm adding or updating code
    • I've added and/or updated tests. I've run npm run test:update to update snapshots, if needed.
    • I've updated docs if needed
    • I've updated the changelog with a description of the PR
  • I'm adding a new feature
    • I've updated the playground with an example use of the feature

@heath-freenome
Copy link
Member

@c-dante I just merged a PR that is causing conflicts in the CHANGELOG.md file. Can you update it? Other than that your changes look good. Will approve after resolving conflicts.

CHANGELOG.md Outdated
Comment on lines 18 to 28
# 5.2.1 (upcoming)

## @rjsf/material-ui
- Patch `RangeWidget` to support `0` as range slider value

## @rjsf/mui
- Patch `RangeWidget` to support `0` as range slider value

## Dev / docs / playground
- Updated the playground's `numbers` example to use a range slider with a valid negative and `0` value

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually, since I haven't cut the 5.2.0 release please append them onto the associated sections for that release

CHANGELOG.md Outdated Show resolved Hide resolved
CHANGELOG.md Outdated Show resolved Hide resolved
@heath-freenome heath-freenome merged commit 03bd96f into rjsf-team:main Mar 3, 2023
@c-dante c-dante deleted the patch/mui-range-slider branch March 3, 2023 17:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Incorrect empty check fails on 0 range value
2 participants