Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Checkbox view does not change with model #41

Closed
ajoslin opened this issue Jun 7, 2012 · 3 comments
Closed

Checkbox view does not change with model #41

ajoslin opened this issue Jun 7, 2012 · 3 comments

Comments

@ajoslin
Copy link
Contributor

ajoslin commented Jun 7, 2012

When I set the model for a checkbox to true, the checkbox does not get checked on the view.

Here is what a stripped down example of what I am trying to do: http://jsfiddle.net/andytjoslin/qz7bQ/1/

Where in the jqm-adapter code is the checkbox directive? I'd take a look at it, but I can't find it.

@ajoslin
Copy link
Contributor Author

ajoslin commented Jun 11, 2012

Any ideas?

@tbosch
Copy link
Contributor

tbosch commented Jun 29, 2012

Hi,
mmh, not so easy: If you use ng-checked it seems to work, with a plain ng-model it does not.
I'll look into this.

The widgets are in the file src/main/webapp/integration/jqmAngularWidgets.js However, this only contains the behavior. The directives themselves are generic and in the file src/main/webapp/integration/compileIntegration.js

Tobias

@tbosch tbosch closed this as completed in 82345c0 Jun 29, 2012
@tbosch
Copy link
Contributor

tbosch commented Jun 29, 2012

Here is an updated jsfiddle that is using 1.0.7-rc3-SNAPSHOT:
http://jsfiddle.net/qz7bQ/2/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants