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

Disabled state in html:RadioButton widget #1446

Merged
merged 1 commit into from Apr 21, 2015

Conversation

flongo
Copy link
Collaborator

@flongo flongo commented Apr 7, 2015

When two html:RadioButtons disabled state is bound to the same non-initialized data model, an error was triggered.
This was due to the fact that when the initWidget method of the first one was called, a setValue was done on the data model, which triggered some listeners to modify the disabled state of the second one, for which the initWidget method had not been called yet, so that property this._domElt had not been set yet.

@divdavem
Copy link
Member

🆗 8bf4ab6 seems fine for me

When two `html:RadioButton`s disabled state is bound to the same non-initialized data model, an error was triggered.
This was due to the fact that when the `initWidget` method of the first one was called, a `setValue` was done on the data model, which triggered some listeners to modify the disabled state of the second one, for which the `initWidget` method had not been called yet, so that property `this._domElt` had not been set yet.
@flongo flongo merged commit 85bb344 into ariatemplates:master Apr 21, 2015
@simonarbuckle simonarbuckle added this to the 1.7.6 milestone Apr 23, 2015
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

Successfully merging this pull request may close these issues.

None yet

3 participants