【问题标题】:Angular 3 dropDown to select birth dayAngular 3下拉选择生日
【发布时间】:2015-06-11 08:21:16
【问题描述】:

我想显示 3 个下拉菜单:日、月和年。

为了选择生日。

Angular.ui datePicker 没有这个选项。有没有其他方法可以做到?

【问题讨论】:

    标签: angularjs angularjs-directive uidatepicker


    【解决方案1】:

    您可以使用angular-date-dropdowns libraryCombodate library

    我希望你使用 angular-date-dropdowns.. 这是一个示例:

    <input rsmdatedropdowns ng-model="dob" />
    

    【讨论】:

    • Combodate 看起来很棒,但我更喜欢使用 Angular,而且我已经尝试过 'rsmdatedropdowns' 但它并不完美。
    • 我再试一次'rsmdatedropdowns'。当我选择日和月时,它们都消失了
    • 控制台有错误吗?该库带有一个示例..您可以运行它吗?
    • 控制台没有错误,我在 GitHub 上没有看到任何演示
    • 最后我使用了“rsmdatedropdown”。那里有一个错误,所以它没有工作。我修好了它,它工作得很好。 10x
    猜你喜欢
    • 1970-01-01
    • 2020-07-07
    • 2017-04-07
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2021-11-21
    • 2018-09-19
    • 1970-01-01
    相关资源
    最近更新 更多