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

Update RangeControl to render number optionally #4523

Closed

Conversation

mfolkeseth
Copy link

Description

Here is my suggestion to make RangeControl number input field optional. It may be cases where showing it may lead to confusion to why it's there. Number is shown by default to ensure backwards compatibility.

Feel free to ignore this PR if it makes sense to leave it as non-optional.

How Has This Been Tested?

The code has been linted.

Created a test block using range control. Tested the block by using showNumber={false} and showNumber={true} and not specify the property at all.

Screenshots (jpeg or gifs if applicable):

screen shot 2018-01-16 at 19 26 05

Types of changes

New feature (non-breaking change which adds functionality)

Checklist:

  • My code is tested.

@aduth aduth added the Needs Design Feedback Needs general design feedback. label Jan 20, 2018
@karmatosed
Copy link
Member

I think any slider needs a number so lets keep that for now. Sliders have enough issues without taking numbers away :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs Design Feedback Needs general design feedback.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants