angular / components

Component infrastructure and Material Design components for Angular
https://material.angular.io
MIT License
24.32k stars 6.73k forks source link

Range Slider #1331

Closed anderflash closed 1 year ago

anderflash commented 8 years ago

Bug, feature request, or proposal:

Feature request

What is the expected behavior?

Range Slider

What is the current behavior?

We manipulate a single value.

What are the steps to reproduce?

Not applicable

What is the use-case or motivation for changing an existing behavior?

For input a range (start and end) besides just one value. Currency, date, time... several motivations.

Which versions of Angular, Material, OS, browsers are affected?

Latest

Is there anything else we should know?

I think JQuery UI also could be a good source of new UI features for material2.

andreElrico commented 4 years ago
chriszrc commented 4 years ago

I ended up using this one:

https://www.primefaces.org/primeng/showcase/#/slider

It was easy to just add that one component, but it's also a bit broken with reactive forms :(

francovp commented 4 years ago

Any milestone when this can be included? Maybe for 10.1 or 11? Flutter Material got this already, before Angular Material that is now in version 10 :/

francovp commented 4 years ago

Flutter got a new updated Range Slider today :)

Volftsun commented 3 years ago

any updates? We are waiting for a range slider :)

kuatek commented 3 years ago

+1

M1Joe commented 3 years ago

@wagnermaciel super excited to see this get assigned to you! Any chance that means you're working this?

jelbourn commented 3 years ago

This is being added as part of the MDC-based slider that's currently in progress.

patrickacioli commented 3 years ago

Waiting for range slider. :)

moshtaba commented 3 years ago

jeeeeeeeez it is 2021. after five years still no range slider?

crisbeto commented 3 years ago

This is supported now with the slider in the @angular/material-experimental/mdc-slider package.

NurGuz commented 3 years ago

+1 for Angular 8 here?

crisbeto commented 3 years ago

We generally don't port features back to older releases, only fixes high-priority bugs and security issues.

GrandSchtroumpf commented 3 years ago

@crisbeto when installing @angular/material-experimental@latest the template is still

<!-- TODO: to be implemented as a part of the new MDC slider -->

I've got version ^12.0.2 which seems to be the newest at the time of this comment according to npm. Is there a way to use the version currently on master ?

image

crisbeto commented 3 years ago

Sorry, it looks like PRs were actually targeting the next minor release which will be 12.1.0. You can either wait for it or install one of the master builds from https://github.com/angular/material-experimental-builds.

GrandSchtroumpf commented 3 years ago

I see thanks. Any broad idea when the next minor should be ship ?

crisbeto commented 3 years ago

It should be within the next month or two.

MattiaMalandrone commented 3 years ago

Any news?

crisbeto commented 3 years ago

The range slider is currently available in @angular/material-experimental/mdc-slider.

nzbin commented 2 years ago

@odahcam @francovp @moshtaba @GrandSchtroumpf @MattiaMalandrone I have written a range slider in the Angular Material extensions library. https://ng-matero.github.io/extensions/components/slider/overview

Phil-DS commented 2 years ago

Is this coming to the main distribution at any point, or is it still stuck on MDC?

wagnermaciel commented 2 years ago

@Phil-DS The range slider is still considered experimental at this time

narendrasinghrathore commented 2 years ago

Any update, is this part of material.angular.io, please update? @andrewseguin

wagnermaciel commented 2 years ago

@narendrasinghrathore No major update yet. The range slider is still considered experimental and is available for preview in the @angular/material-experimental/mdc-slider package. You can follow our progress on the main branch

SvenBudak commented 2 years ago

@wagnermaciel is there a list where we can see the real progress in % or something like that? i plan a new project and i need to know, if i can start the prod work with material mdc already.

wagnermaciel commented 2 years ago

@SvenBudak There's no in progress % but you can track our progress by viewing our PRs https://github.com/angular/components/pulls?q=is%3Apr+%22feat%22+%22switch%22+%22implementation+to+use+MDC%22+created%3A%3E2022-01-01+

I wouldn't recommend using the mdc-slider just yet because there are still major changes happening which will change some behavior, but the API will be identical so it doesn't matter that much

SvenBudak commented 2 years ago

@wagnermaciel ok thanks for the info! Can you roughly estimate when mdc could be ready to be released for prod? i am fully aware that any of your statements can be + or - 10 years off. however, i would be interested in a rough estimate as i can't figure it out based on the issues. don't worry no one is going to nail you down on this statement. it's enough to know if it's more like months or more like 3 years. :)

wagnermaciel commented 2 years ago

@SvenBudak We're planning on releasing them over the next few major releases, of which there are typically two annually. We're not sure if we'll be able to land all of them in one go so it might be over the course of the next 1-2 releases (maybe 3 depending on how tough things get, but that seems like a worst case scenario).

So long story short, worst case scenario I'd estimate 1.5 years until the new components are released for prod

Phil-DS commented 2 years ago

@SvenBudak There's no in progress % but you can track our progress by viewing our PRs https://github.com/angular/components/pulls?q=is%3Apr+%22feat%22+%22switch%22+%22implementation+to+use+MDC%22+created%3A%3E2022-01-01+

I wouldn't recommend using the mdc-slider just yet because there are still major changes happening which will change some behavior, but the API will be identical so it doesn't matter that much

I saw that the PR for the switching slider to the MDC version was approved and merged just under a month ago. Does that mean its in the current version, or that it is staged, ready for release in the next major update?

jelbourn commented 2 years ago

Next major update (v15)

amysorto commented 1 year ago

Closing this since this is going to be available in v15 really soon! For a sneak peak you can look here: https://rc.material.angular.io/components/slider/examples#slider-range

angular-automatic-lock-bot[bot] commented 1 year ago

This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.