angular / material

Material design for AngularJS
https://material.angularjs.org/
MIT License
16.57k stars 3.4k forks source link

Any plan for a datepicker? #431

Closed kpgarrod closed 9 years ago

kpgarrod commented 9 years ago

Is there a plan for a material datepicker or any existing datepicker that works well with angular-material?

kpgarrod commented 9 years ago

I see "material-input type='date'" works adequately.

justingrayston commented 9 years ago

What browsers did you test that on? Chrome natively supports an input type of date but not all browsers do. See date here: http://www.w3schools.com/html/html5_form_input_types.asp

kpgarrod commented 9 years ago

I tested it on Chrome. I see it doesn't work adequately in Firefox.

I found a couple of polyfills though - anybody have experience with them?

justingrayston commented 9 years ago

The thing is, the native (current) Chrome date picker and the polyfills wouldn't follow Material Spec. Would be a a nice to have directive some time down the line for sure.

kpgarrod commented 9 years ago

Yes, or maybe just an enhancement to the the material-input directive. I don't see anything about dates in the material design specs, or am I missing something?

On 15 October 2014 21:56, Justin Grayston notifications@github.com wrote:

The thing is, the native (current) Chrome date picker and the polyfills wouldn't follow Material Spec. Would be a a nice to have directive some time down the line for sure.

— Reply to this email directly or view it on GitHub https://github.com/angular/material/issues/431#issuecomment-59265743.

Keith Garrod

Tel: +27-83-3000-988 Fax: +27-86-5757781

justingrayston commented 9 years ago

But there are specifications to do with UI in general. Spacings, interactions, animations etc

kpgarrod commented 9 years ago

Yes, I was just wondering if I had missed something regarding dates specifically.

On 16 October 2014 09:36, Justin Grayston notifications@github.com wrote:

But there are specifications to do with UI in general. Spacings, interactions, animations etc

— Reply to this email directly or view it on GitHub https://github.com/angular/material/issues/431#issuecomment-59324465.

Keith Garrod

Tel: +27-83-3000-988 Fax: +27-86-5757781

ajoslin commented 9 years ago

We'll consider adding one after we have fulfilled the rest of the spec.