角材料DateTime选择器组件? [英] Angular-Material DateTime Picker Component?

查看:88
本文介绍了角材料DateTime选择器组件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在项目中导入了日期选择器,并且想知道是否有任何正式的





我已经在材料文档中看到了大量的时间挑选者,并且研究了很多第三方的东西,但是它们看起来非常复杂.

I imported a date picker in a project and was wondering if there was any official recent component from angular and material to include time in the calendar as well.
I've seen plenty of time pickers in material documentation and researched a lot of third party ones, but they seem very complex.

推荐答案

很遗憾,您对是否存在官方材料支持选择时间的问题的回答是否",但当前在官方Material2上尚未解决GitHub存储库: https://github.com/angular/material2/issues/5648

Unfortunately, the answer to your question of whether there is official Material support for selecting the time is "No", but it's currently an open issue on the official Material2 GitHub repo: https://github.com/angular/material2/issues/5648

希望这很快会改变,与此同时,您必须与已经发现的第三方抗争. GitHub问题中有一些人提供了他们可以尝试的自制解决方法.

Hopefully this changes soon, in the mean time, you'll have to fight with the 3rd-party ones you've already discovered. There are a few people in that GitHub issue that provide their self-made workarounds that you can try.

这篇关于角材料DateTime选择器组件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆