-
Notifications
You must be signed in to change notification settings - Fork 113
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
ember-radio-button v1.0.4 causing deprecation warning, updating breaks radio buttons #178
Comments
Currently the radio buttons in version 0.18.0 are not checkable however they are checkable in 0.17.3. When comparing the mark up between the two versions I notice that a for attribute was missing in the label and the class "materialize-selectable-item-input" is missing in the input (below). Version 0.17.3 <div id="ember617" class="ember-view materialize-selectable-item">
<input id="ember630" type="radio" value="1" class="materialize-selectable-item-input ember-view">
<label class="materialize-selectable-item-label materialize-selectable-item-label" for="ember630">
One<!---->
</label>
</div> Version 0.18.0 <div id="ember615" class="ember-view materialize-selectable-item">
<input id="ember628" type="radio" value="1" class="ember-view">
<label class="materialize-selectable-item-label materialize-selectable-item-label">
One<!---->
</label>
</div> |
Make sure you update to ember-radio-button <div id="ember971" class="ember-view materialize-selectable-item">
<input id="ember989" type="radio" value="1" class="materialize-selectable-item-input ember-view">
<label class="materialize-selectable-item-label materialize-selectable-item-label" for="ember989">
One<!---->
</label>
</div> Whenever you upgrade an ember addon, you can re-run its installation blueprint to see if anything needs to be changed (i.e., a package dependency) by running ember g ember-cli-materialize <your app name> |
Please feel free to re-open this if you upgrade everything and still see a problem |
That solved it thankyou, might be worth adding an 'upgrading' note to the main readme.md |
ember-cli-materialize is currently pointing at v1.0.4 of ember-radio-button. This version accesses the template property in the radio-button component, which is deprecated in Ember 1.13:
This was fixed in ember-radio-button v1.0.6. Updating the dependency removes the deprecation warning, but the radio buttons in ember-cli-materialize become un-checkable (as if they are disabled) when using the md-radios and md-radio components.
The text was updated successfully, but these errors were encountered: