In this post we will learn how to create dropdown with search functionality in vuejs. To implement this feature we use vue js cdn and search box cdn. Below are the steps to implement search box in dropdown.
<script src=“https://unpkg.com/vuejs-datepicker”></script> <script type=“text/javascript” src=“https://unpkg.com/vue-simple-search-dropdown@latest/dist/vue-simple-search-dropdown.min.js”>
<html><body id=“app”><Dropdown class=“form-control” name=“subject” :options=“options” placeholder=“Please select an animal” autocomplete=“off”></Dropdown></body></html>
#javascript #vuejs