-
Notifications
You must be signed in to change notification settings - Fork 3.4k
mdDateTime - a date time picker #648
Comments
+1 |
-1 Have you looked at datetime-local in the newest Android or IOS? its amazing! Responsive & localized with both timezone and language. One thing you will never be able to fix is letting the picker (date, time, datalist & select) to flow outside of the document/iframe that is smaller then 100x30px |
@jimmy that's an interesting perspective. Do you prefer IE's implementation On 14 November 2014 11:24, Jimmy Karl Roland Wärting <
Keith Garrod Tel: +27-83-3000-988 |
no... yes... I'm not sure. They would eventually catch up and make crapy date picker eventually some day. And then my website would be ready to support it when it lands. It's all about progressive enhancement. Why should modern user suffer because of IE? It will still work but not as good. It's not like something will break. They will still be able to enter a date and time. I would perhaps want a fallback solution. Tell them how to enter a correct date with ngMessage. Perhaps use a mask:ed input with the support of parser/formaters |
Btw, datalist and datetime-local makes a grate combo especially in android at least! demo blink is continues going to improve the picker even further then it is today and i get all the updates for free! |
This component is planned for Q1, 2015 availability. |
The advantage of a Material date-picker versus native ones is a cohesive look & feel and interactive experience across all platforms. Every native date-picker looks different. |
+1
|
Then i want it to be very accessibility. Everything you can do with the native should be possible with the material |
Yes, all components must be accessible! The date picker will be a challenging one to get right, just as tabs were. |
I want to have that tab-able functionality that change focus on yyyy-MM-dd --:-- And on my android device i want something totally different? You are definitely up for a real challenging if you are going to win over the native input field. Even that |
@jimmywarting thanks for sharing with us your wishes regarding this functionality. Till now, the material design team did an amazing job. So, let them decide what should be the best user experience for this functionality. I'm pretty sure you won't be disappointed about the result. |
@martin +1
|
+1 |
Hey, just thought I'd weight in - I've been doing some work on building my own date/time picker based off the spec here: http://www.google.com/design/spec/components/pickers.html. (I'm melding the spec together a bit...) It's a work in progress but you can see what I've done so far here http://codepen.io/SimeonC/pen/XJdWPy. Some bits I haven't done yet - like the vertical mode, lastly I am using bootstrap as a bit of a helper with the classes (It's for one of my projects which is in bootstrap, but I'm using as little as possible - just the buttons and the positioning for the demo, easily replaced). You guys are doing a great job of building the material spec here so I thought I'd check in and see if I can help before I go and make my own repo. |
@simeon The codepen link doesn't work. On 10 December 2014 at 23:15, Simeon Cheeseman notifications@github.com
Keith Garrod Tel: +27-83-3000-988 |
@kpgarrod It should work now, I think I got it wrong at first then fixed it. http://codepen.io/SimeonC/full/XJdWPy/ is the correct one. |
Someone posted a similar, more polished, date-picker on googlearchive/paper-elements#20 a while back. Similar to this one except the month view was scrollable and the left pane acted as a switch between selection modes. Unfortunately the demo link is dead right now. |
@simeon Thanks. It looks really nice. My two cents:
On 11 December 2014 at 11:40, Lars Schöning notifications@github.com
Keith Garrod Tel: +27-83-3000-988 |
@lyschoening Yea I wanted to do scrolling dates, but I haven't figured out how to do it yet! (I started two days ago) I like that idea of using the left pane as a switch. @kpgarrod Thanks for the thoughts, I'm not sure how to do 1 any different - that's how the spec pictures show it. I agree with 2, as someone else pointed out analogue clocks are a bit old fashioned now. As for 3, any suggestions on making it more obvious? I'm going to be actively using this in a "tame" production environment soon so I'll get some feedback from them as well. |
+1 |
Hi SimeonC, Thx for your feedback |
@kschwidder for now it's just on codepen - feel free to grab it off there (the little eye gives you the compiled js/css/html). I'm waiting for a response from the owners of this repo before I go create a seperate repo for it. |
Love the conversation and ideas here on the DatePicker. 👍 |
@simeon It seems that the spec envisages separate pickers for date and There also doesn't appear to be provision for 24hr clock, or for time zone My personal preference would be for digital time selection with a switch On 11 December 2014 at 12:40, Simeon Cheeseman notifications@github.com
Keith Garrod Tel: +27-83-3000-988 |
@kpgarrod OK, that's a good point, I actually liked the clock face for picking out hours as it moved away from that horribly large dropdown style time picker. I know that the original spec called for separate, but I've found that I need a date and time picker far more frequently than I've needed a time or date only picker. From my point of view it just makes sense to have a nice unified interface. The minutes I guessed at as the original spec doesn't place anything for minutes. AFAIK if we figured some way of integrating timezones in a good way that would be a first! I'll fork my codpen later this week and have a go at modifying the spec a bit to try some different ideas I have from your suggestions. |
@kpgarrod I took some of your suggestions and made some improvements to it, have a look here: http://codepen.io/SimeonC/pen/EayWdY I added a full view, 24 hour option and a minutes title over the clock input. I'd like all of it to be scrollable but I haven't had time to look into how to catch scroll wheel events yet. |
+1 |
+1 I desperately need this! |
@SimeonC solution looks pretty descent for now. I'll be really sad to implement it right now and the team release one or two days ahead 😋 |
+1 |
3 similar comments
+1 |
+1 |
+1 |
@SimeonC solution doesnt seem to work for me, trying to figure out whats causing the conflict, some kind of style conflict it seems. |
Yes even I'm facing the same issue as above but there are no errors though. |
That's a known bug: SimeonC/md-date-time#16 |
+1 |
3 similar comments
+1 |
+1 |
+1 |
We are actively working on this component. |
|
Hi,
It would be very nice to have a date and a time picker.
This could be inspired by this project : http://amsul.ca/pickadate.js
Here are my suggestions (based on use case I already had in some e-commerce projects):
Thanks
The text was updated successfully, but these errors were encountered: