Add default option for state select
This commit is contained in:
parent
d2a80397b2
commit
6888c944a4
|
@ -13,6 +13,7 @@
|
||||||
<label class="form-label">State:</label>
|
<label class="form-label">State:</label>
|
||||||
<div class="input-group">
|
<div class="input-group">
|
||||||
<select class="form-select" v-model="state_name" :disabled="launched">
|
<select class="form-select" v-model="state_name" :disabled="launched">
|
||||||
|
<option value="" selected>Select a state…</option>
|
||||||
<option v-for="state in states">{{ state }}</option>
|
<option v-for="state in states">{{ state }}</option>
|
||||||
</select>
|
</select>
|
||||||
<button class="btn btn-primary" type="button" @click="launch" :disabled="launched">Play</button>
|
<button class="btn btn-primary" type="button" @click="launch" :disabled="launched">Play</button>
|
||||||
|
|
Loading…
Reference in a new issue