s11e150 select options
This commit is contained in:
parent
1fd9759dc9
commit
ef7f13b236
@ -93,9 +93,12 @@
|
|||||||
<div class="col-xs-12 col-sm-8 col-sm-offset-2 col-md-6 col-md-offset-3 from-group">
|
<div class="col-xs-12 col-sm-8 col-sm-offset-2 col-md-6 col-md-offset-3 from-group">
|
||||||
<label for="priority">Priority</label>
|
<label for="priority">Priority</label>
|
||||||
<select
|
<select
|
||||||
|
v-model="selectedPriority"
|
||||||
id="priority"
|
id="priority"
|
||||||
class="form-control">
|
class="form-control">
|
||||||
<option></option>
|
<option
|
||||||
|
v-for="priority in priorities"
|
||||||
|
:value="priority">{{priority}}</option>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -127,8 +130,7 @@
|
|||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
<p>Gender: {{userData.gender}}</p>
|
<p>Gender: {{userData.gender}}</p>
|
||||||
<p>Priority:</p>
|
<p>Priority: {{selectedPriority}}</p>
|
||||||
<p>Switched:</p>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -148,6 +150,8 @@
|
|||||||
},
|
},
|
||||||
message: 'A new hope',
|
message: 'A new hope',
|
||||||
sendMail: [],
|
sendMail: [],
|
||||||
|
priorities: ['High', 'Medium', 'Low'],
|
||||||
|
selectedPriority: 'Medium'
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user