Posted here too ::: 
http://stackoverflow.com/questions/24668759/formatting-form-input-field-unbinds-my-ng-model

IN summary 

I have a form that i am trying to submit with angular JS

One of the field requires generation of an ethiopian calendar , so i am 
using an external javascript library to show this date - available here 
http://keith-wood.name/calendarsRef.html

To show the date picker one creates an input text as below:

<input type="text" id="ethiopianDOB" ng-model='Ethiopian'

And corresponding javascript

$( "#ethiopianDOB" ).calendarsPicker({
    calendar: $.calendars.instance('ethiopian')}); 

However this interferes with my ng-model binding and hence cannot access my 
variable in $scope (I reviewed the object on form submission and i have no 
item like $scope.Ethiopian

I am looking for ways to either 

1. Retain the binding of the ng-model OR 

2. Not require the javascript to instantiate the calendar OR 

3. Improvement on my approach to this problem

Thanks

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to