I am using the multi-select provided in the documentation for metronic 8. How to validate Multi-select option in vue with yup , i have already tried
but it is not validating it
Hi Muhammad,
If you are using Vee-validate then you can validate multi-select input using the example below.
<field name="businessType" v-slot="{ field }">
<multiselect v-bind="field" :options="["Option1", "Option2", "Option3"]"></multiselect>
</field>
Thanks , it worked like a charm
Hi,
Glad to hear that. All the best with your project!
Regards,
Lauris Stepanovs,
Keenthemes Support Team