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.
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?
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.