Skip to content
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.

Bound value on radio input gets bound after the value is read. #316

Closed
mhevery opened this issue Mar 28, 2011 · 4 comments
Closed

Bound value on radio input gets bound after the value is read. #316

mhevery opened this issue Mar 28, 2011 · 4 comments
Milestone

Comments

@mhevery
Copy link
Contributor

mhevery commented Mar 28, 2011

The gis should init with correct radio selected. But instead it get's initialized with nothing.

https://gist.github.com/891437

@danhn
Copy link

danhn commented May 13, 2011

I've just found a simple workaround for this using ng:bind-attr on "checked". Not sure anyone has used this workaround before.

https://gist.github.com/970934

@IgorMinar
Copy link
Contributor

this is still broken in 0.10.3: https://gist.github.com/1293065

Proposed solution: instead of using current scope id in name attribute, use the scope id to which the ng:model is attached to.

@IgorMinar
Copy link
Contributor

this seems to be related (or even a duplicate) of #305 and duplicate of #271

@IgorMinar
Copy link
Contributor

fixed by 7fc18b2

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

No branches or pull requests

3 participants