Hi I want to select the current month as default in the below code in Ember 1.10, current month is a variable in the controller:
currentMonth: moment().format("M"),
allMonths: moment.months()
////// HBS ////////////
<select id="selectMonth">
<option selected="selected" value=''></option>
<option value=''></option>
</select>
I am getting Error for this. what is the other way we can add a if condition in this scenario.
Aucun commentaire:
Enregistrer un commentaire