1

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>

enter image description here

2
  • you can create custom select component Commented May 22, 2019 at 8:48
  • You can't but I suggest you to use bootstrap plugins like plugins.upbootstrap.com/bootstrap-select or write your custom HTML code using bootstrap components Commented May 22, 2019 at 8:54

1 Answer 1

1

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.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.