angular-bootstrap-datetimepicker-directive icon indicating copy to clipboard operation
angular-bootstrap-datetimepicker-directive copied to clipboard

Fix the two-way model binding

Open atais opened this issue 10 years ago • 5 comments

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

atais avatar Oct 16 '15 13:10 atais

+1

luigizhou avatar Oct 22 '15 13:10 luigizhou

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

atais avatar Nov 16 '15 14:11 atais

+1

adrianolobo avatar Jan 27 '16 14:01 adrianolobo

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.

atais avatar Mar 07 '16 10:03 atais

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

xnyssxy avatar Mar 31 '16 14:03 xnyssxy