Skip to content

Can't disable some inputs in range slider. #616

Description

@shubhamak2

Requirement -

I'm using rc-slider which displays the value from 1 to 100 and I used the step as 1. Here the min and max set as 1 and 100. Now, I want to disable some range between 1 to 100. For example, If I want to disallow the input selection before 4 and after 40, the user can only select the range between 4 to 40 but we have to display all values from 1 to 100.

I tried to implement this behaviour but when I set min to 4 and max to 40 then the slider starts from 4 instead of 0?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions