Disable play button if no state selected
This commit is contained in:
parent
92518cee5a
commit
72844f83ce
|
@ -17,7 +17,7 @@
|
||||||
<option value="" selected>Select a state…</option>
|
<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 || !state_name">Play</button>
|
||||||
</div>
|
</div>
|
||||||
<div class="btn-group">
|
<div class="btn-group">
|
||||||
<button class="btn btn-secondary" type="button" @click="save" :disabled="!launched">Save</button>
|
<button class="btn btn-secondary" type="button" @click="save" :disabled="!launched">Save</button>
|
||||||
|
|
Loading…
Reference in a new issue