Bootstrap-datepicker: todayBtn doesn't work when a value is set

Created on 10 Jan 2013  路  1Comment  路  Source: uxsolutions/bootstrap-datepicker

Using the todayBtn: true option. When the input field has a pre-existing value the todayBtn does not change the date.

Most helpful comment

Seems to work fine, to me.

todayBtn: true directs the button to only bring today into view, not select it. If you want the button to actually change the date selected, use todayBtn: "linked".

>All comments

Seems to work fine, to me.

todayBtn: true directs the button to only bring today into view, not select it. If you want the button to actually change the date selected, use todayBtn: "linked".

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mrlife picture mrlife  路  4Comments

alexandrubau picture alexandrubau  路  3Comments

aifrim picture aifrim  路  5Comments

first-developer picture first-developer  路  6Comments

giovannigaspar picture giovannigaspar  路  3Comments