dimanche 1 février 2015

Ember Radio Button never be cleared after exiting the view

I have handelbar with 5 radio buttons as below:



  • {{view Ember.RadioButton id="option1" name="selectionTest" selectionBinding="isSelected" value=1}} {{i18n 'kwoption1'}}

  • {{view Ember.RadioButton id="option2" name="selectionTest" selectionBinding="controllerisSelected" value=2 valueBinding="radio1"}} {{i18n 'kwoption2'}}

  • {{view Ember.RadioButton id="option3" name="selectionTest" selectionBinding="isSelected" value=3}} {{i18n 'kwoption3'}}

  • {{view Ember.RadioButton id="option4" name="selectionTest" selectionBinding="isSelected" value=4}} {{i18n 'kwoption4'}}

  • {{view Ember.RadioButton id="option5" name="selectionTest" selectionBinding="isSelected" value=5}} {{i18n 'kwoption5'}}


when I click on submit button it will clear all radio buttons but after exiting the screen and try to access it again I am getting the old selected value. How can I clear the cache on this handlebar .


Thanks in advance





Aucun commentaire:

Enregistrer un commentaire