make site dropdown required

This commit is contained in:
wh1te909 2021-12-22 06:19:28 +00:00
parent 43c9f6be56
commit bf467b874c
1 changed files with 8 additions and 1 deletions

View File

@ -10,7 +10,14 @@
</q-bar>
<q-form @submit="submit">
<q-card-section>
<tactical-dropdown outlined label="Site" v-model="state.site" :options="siteOptions" mapOptions />
<tactical-dropdown
:rules="[val => !!val || '*Required']"
outlined
label="Site"
v-model="state.site"
:options="siteOptions"
mapOptions
/>
</q-card-section>
<q-card-section>
<div class="q-pl-sm">Agent Type</div>