Going through vee-validates documentation I don't see anything for validating select inputs. So my question is can you validate selects? Currently what I try does not display an error message...
Here is the code
<select id="category" v-model="client.category" name="Category Type" v-validate="'required'">
<option disabled>{{option}}</option>
<option v-for="category in categories" :key="category.id" :value="category">{{ category }}</option>
</select>
<spanv-show="errors.has('Category Type')">{{ errors.first('Category Type') }}</span>
<span
andv-show
. Proof – Clisthenesdisabled>{{option}}
is making the validate method think it is okay... if that makes sense.. – Dunlinv-validate="{ is_not: option }"
– Dunlin