Open aalasolutions-zz opened 8 years ago
Using Ember-CLI 1.13.1. I have two radio buttons on the page
{{input type="radio" name="order_size_type" id="order_size_in_cm" checked=true}} <label for="order_size_in_cm" {{action 'showFieldsCM' preventDefault=false}}>Cm</label> {{input type="radio" name="order_size_type" id="order_size_in_ft"}} <label for="order_size_in_ft" {{action 'showFieldsFT' preventDefault=false}}>Ft/In</label>
I have created two functions which simple add the hide class based on what label is clicked
There are two questions
So right now I have to click the label to hide/show the content
I am using Ember 1.13.5
@zinyando Please create an Ember Twiddle that shows how to bind value of radio elements with Ember 1.13+.
Using Ember-CLI 1.13.1. I have two radio buttons on the page
I have created two functions which simple add the hide class based on what label is clicked
There are two questions
So right now I have to click the label to hide/show the content