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.

razvanmitre commented 7 years ago

any news on this?

mmalerba commented 7 years ago

I don't think this is a priority for us since its not part of the material spec

anderflash commented 7 years ago

I understand. It would be considered a future enhancement. I see Ionic Range could be a good inspiration (there is an example - see structure field). And it's on top of Angular 2.

SvenBudak commented 7 years ago

i really really hope, that they implement it... I know people who use ionic, only because in material is no range slider...

arkhamvm commented 7 years ago

Any news? Really nice to have.

Tiedye commented 7 years ago

+1 this is really important for a lot of applications

mladilav commented 7 years ago

Any news?

chicojunior commented 6 years ago

News about?

troelssiggaard commented 6 years ago

+1

ghal commented 6 years ago

+1

alexlevy0 commented 6 years ago
kaykhan commented 6 years ago

+1

dniadzelka commented 6 years ago

+1

franckie20 commented 6 years ago

+1

odahcam commented 6 years ago

Good inspiration:


<!-- auto range slider -->
<mat-slider values="[10, 22, ...]"></mat-slider>

<!-- explicit range slider -->
<mat-slider range values="[10, 22, ...]"></mat-slider>
EdricChan03 commented 6 years ago

@troelssiggaard @ghal @alexlevy0 @KKHAN1991 @hatem20 @dniadzelka @franckie20 Please don't spam others who have watched this repository with +1s. Just click on the thumbs up emoji on the top post.

Raphyyy commented 6 years ago

Hi and sorry for the flood Any news on this ? It would be really nice to have, for many apps

AndyInfin commented 6 years ago

After 1,5 years of this issue opened, MD2 still don't have it? Really? Maybe someone have a custom realisation of this component (CDK, huh)?

Spawnrad commented 6 years ago

I use primeng for the slider range. Hope material add it

tsuyoshi-nishikawa commented 6 years ago

Any news?

odahcam commented 6 years ago

This is not cool and not usual at all:

image

😞

Spawnrad commented 6 years ago

Its a low priority but very usefull for everyone :(

tsuyoshi-nishikawa commented 6 years ago

like this https://material.io/design/components/sliders.html#usage

odahcam commented 6 years ago

Finally it's on Material spec! 🎉

Ref: https://material.io/design/components/sliders.html#usage

mmalerba commented 6 years ago

Bumping the priority since this is part of the spec now. FYI to everyone watching this thread: you may want to follow https://github.com/angular/material2/issues/10774 as well, as it's a pre-req to making the material version

shivarajnaidu commented 6 years ago

When we can expect range slider in angular material guys..?

GeoffMahugu commented 6 years ago

This feature is very important. Having 2 slides for max and min value is not a user experience i would want

kevupton commented 6 years ago

👍 🥇

Kiennyo commented 6 years ago

As an alternative I've found this component: https://www.primefaces.org/primeng/#/slider

ankitminglani commented 6 years ago

@Kiennyo but the styling is a struggle! were you able to make it look like angular material one or at least ionic?

Dzivo commented 6 years ago

Any news on this i see they have no plans for this in the docs

PhilippS93 commented 6 years ago

Are there any news? Would love this feature.

kluevandrew commented 5 years ago

+1

greggalbreath commented 5 years ago

+1

jonigl commented 5 years ago

any news?

odahcam commented 5 years ago

Maybe you should see #13324

HulinCedric commented 5 years ago

Thanks @odahcam for your redirection 👍

odahcam commented 5 years ago

You're welcome.

VagrantAI-c commented 5 years ago

Seems like another concept passed through https://material.io/design/components/buttons-floating-action-button.html#extended-fab

dinukasaminda commented 5 years ago

use my range slider its based on angular material slider and its modifed, with sample angular application https://github.com/dinukasaminda/angular-material-range-slider

Capture

jelbourn commented 5 years ago

(I'm going through the highest voted issues today an commenting on their status)

We still consider this something that we want to add, but it's still one of the lower-priority features in the backlog (compared to things like virtual scrolling for table, density theming, improving CDK documentation, etc.). As I mentioned in my recent ng-conf talk, we're doing some work now to integrate MDC Web into our components, so we don't want to rework our slider to support range selections knowing that the MDC implementation also doesn't support this yet.

odahcam commented 5 years ago

Good to see MDC is comming, I hope this change to reduce the amount of work for you guys, so you can create more awesome stuff.

oktav777 commented 5 years ago

@AdditionAddict unfortunately no :( I need it so bad too...

kirill-chirkov-at-clouty commented 5 years ago

Seems like even Flutter now got range slider. I wonder if this would bump range slider dev priority. https://medium.com/flutter/announcing-flutter-1-7-9cab4f34eacf https://github.com/flutter/flutter/pull/31681?source=post_page---------------------------

djabif commented 5 years ago

I solved this issue by using the ion-range component from Ionic Framework. It's super easy to integrate to an angular project.

Screen Shot 2019-07-30 at 2 39 20 PM

SvenBudak commented 5 years ago

Read the comment from the guy above me... Did you guys remember what i wrote before 2 years? https://github.com/angular/components/issues/1331#issuecomment-275187044

odahcam commented 5 years ago

Our best hope is try to help https://github.com/angular/components/pull/13324

PetrSchmeister commented 5 years ago

I found this: https://stackblitz.com/edit/angular-material-range-slider-kxqxmq

chriszrc commented 4 years ago

@PetrSchmeister yes, it uses:

https://angular-slider.github.io/ng5-slider/

EDIT - Seems like reactive form control support is broken for this with two sliders :( This looks like the way to go for now! Thanks!

chriszrc commented 4 years ago

I solved this issue by using the ion-range component from Ionic Framework. It's super easy to integrate to an angular project.

Screen Shot 2019-07-30 at 2 39 20 PM

@djabif I actually am not finding it easy to just integrate a single component from ionic into an already existing angular project, do you have any tutorials or instructions for that?