gpt4 book ai didi

angularjs Bootstrap 日期选择器

转载 作者:行者123 更新时间:2023-12-01 07:14:21 25 4
gpt4 key购买 nike

关闭。这个问题不满足Stack Overflow guidelines .它目前不接受答案。












想改善这个问题吗?更新问题,使其成为 on-topic对于堆栈溢出。

8 年前关闭。




Improve this question




我正在使用带有 angular js 的 bootstrap datepicker ...

https://gist.github.com/rsvalerio/5606688

https://gist.github.com/danbarua/5356062

根据它..如果我需要将选项传递给日期选择器,它应该是这样的:

<input type="text" b-datepicker="{format: 'dd-mm-yyyy'}" ng-model="dateObject" >

但这不起作用。我无法修复代码,请帮忙

最佳答案

使用 DatepickerAngularStrap而不是 AngularUI因为它是最近的:http://mgcrea.github.io/angular-strap/1.0/#/datepicker (到目前为止仅 bootstrap 2)

关于angularjs Bootstrap 日期选择器,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17848871/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com