diosney / angular-bootstrap-datetimepicker-directive

A wrapper directive around the bootstrap-datetimepicker component.
MIT License
69 stars 50 forks source link

Fix the two-way model binding #18

Open atais opened 8 years ago

atais commented 8 years ago

At this moment the plugin only gives you headache when you realize the ng-model is not updated by both callendar and your controllers. And there is already a fork fixing it!

Please merge it. https://gist.github.com/mwadams/3a950170ec0636fa1036

luigizhou commented 8 years ago

+1

atais commented 8 years ago

I have created a minimalist version, with plunker here: http://plnkr.co/kNqCuQ

adrianolobo commented 8 years ago

+1

atais commented 8 years ago

Sorry could not wait any longer. I added the changes to my fork: https://github.com/atais/angular-eonasdan-datetimepicker

If requested I can make a pull request and merge again sometime later.

xnyssxy commented 8 years ago

@atais What do mean 'the ng-model is not updated by both callendar and your controllers'?