[Vuejs]-Bootstrap select is-invalid not work in vue

0👍

You have to provide what are you binding .In your case you are binding a class.So make sure to use v-bind:class=”{‘is-invalid’: error}”

0👍

This should work. span with invalid-feedback class should be below the select tags.

<div class="dropdown">
   <select></select>
   <span class="invalid-feedback"> error </ span>
 </div>

Leave a comment