opitzconsulting / jquery-mobile-angular-adapter

jquery mobile angular adapter
MIT License
517 stars 114 forks source link

ng-model of radio button does not check radio #38

Closed gscottolson closed 12 years ago

gscottolson commented 12 years ago

I'm following angular's recommended pattern of using the value and ng-model attributes for radio buttons. However, the default radio button (based on the value of the property assigned to ng-model) does not get checked. See the jsfiddle...

http://jsfiddle.net/gscottolson/jQjWL/

mtomas commented 12 years ago

Use workaround till it gets resolved: http://jsfiddle.net/qJq4a/1/

I've also encountered strange behaviour when generating radio buttons using ng-repeat - they are not synchronized to underlying ng-model property and they do not get proper jquery mobile css styles applied..this definitely should get resolved.

tbosch commented 12 years ago

Hi, this is the same underlying problem as with #41. As your jsfiddle works now with the last commit I close this issue.

Thanks for reporting, Tobias