Reputation: 2023
I would like to know how to add input text in the bottom to select dropdown.
<select class="form-control">
<option>1</option>
<option>2</option>
<option>3</option>
<option>
<input type="text" placeholder="text"/>
</option>
</select>
Upvotes: 1
Views: 1084
Reputation: 2508
You may come up with a typeahead. Typeahead has the option to add what you type as a new item.
You can create your own component or you may use an existing one.
Upvotes: 1