uxsolutions / bootstrap-datepicker

A datepicker for twitter bootstrap (@twbs)
Apache License 2.0
12.67k stars 6.06k forks source link

bootstrap datepicker not showing active date #1072

Open ghost opened 10 years ago

ghost commented 10 years ago

i have a textbox which is populated with date after interaction with database. also i have the option to edit the value in textbox. I am using bootstrap datepicker with angular. in my angular code i have made a directive called "datepicker" which i am using as an attribute. at some places in my project it is working fine but at others its behaves differently. The issue is that when i click on the textbox, popup appears but with the current month. rather it should show the date in the textbox with blue background.

i also tried data-provide="datepicker", it gives me the desired result but after editting the new value is not being saved, the previous value is saved again

Please help me as i spent my whole day on this but not able to figure out any thing.

alanjdoolan commented 10 years ago

I am also looking for a way to have selected dates that I have retrieved from the database. It would need to work for multi events too. Is there a way to do this?

TimS- commented 9 years ago

+1

tkozyrski commented 9 years ago

+1