components icon indicating copy to clipboard operation
components copied to clipboard

Time Picker

Open mhmalik opened this issue 9 years ago • 10 comments

Bug, feature request, or proposal:

Time Picker is missing, i think it must have that feature

mhmalik avatar Jun 19 '17 21:06 mhmalik

As this issue was closed immediately - does this mean that a time picker won't be implemented at all?

Cleudi avatar Jun 22 '17 13:06 Cleudi

@Cleudi likely because it doesn't really follow the issue template. There doesn't seem to be an official tracking issue for the timepicker, but this https://github.com/angular/material2/issues/675#issuecomment-298271222 indicates one will be implemented in the future.

willshowell avatar Jun 22 '17 13:06 willshowell

For those looking for a angular5/material2 / latest flex time picker, I banged one out last night for a personal project. Feel free to rip it to your needs. https://github.com/SteveDunlap13/MaterialTimeControl

SteveDunlap13 avatar Nov 14 '17 00:11 SteveDunlap13

@SteveDunlap13 - Good timing Steve, just what I was looking for, Thanks!!

bam-dreymers avatar Nov 14 '17 23:11 bam-dreymers

We have implemented time picker which is compatible with angular material and can be used in different version of angular: https://github.com/owsolutions/amazing-time-picker

torabian avatar Jan 20 '18 19:01 torabian

@SteveDunlap13 that was excellent! Just what I was looking for.

Would you have time to make the class WMatTimePickerComponent implement MatFormFieldControl?

So that it can be wrapped in

I have been working on it using the ideas presented on the Angular site for making a custom control here: https://material.angular.io/guide/creating-a-custom-form-field-control

I am close, but am running into an Injection problem.

NAHaley avatar Jan 23 '18 17:01 NAHaley

Hi @NAHaley, did you manage to get something with custom control for an input type "time" ? thanks

alan345 avatar Mar 11 '18 05:03 alan345

This is being tracked in https://github.com/angular/material2/issues/5648

Splaktar avatar Mar 29 '18 09:03 Splaktar

Hello here, for those who likes SteveDunlap13/MaterialTimeControl package, I just made a pull request with some interesting changes :

  • Specific module created for an easier import style
  • Added min, max & disabled abilities
  • 24 hours time format now display clock hours on 2 distinct circles (Android like style)
  • The clock now display a button for every minute to be selectable (but only 5, 10, 15, ... shows the number)

If the pull request takes too long for you to be accepted, feel free to fork it from https://github.com/Gaiidenn/MaterialTimeControl

Gaiidenn avatar Apr 17 '18 12:04 Gaiidenn

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.