4

How can I insert a button inside the dropdown list in ui-select2? Tried to search but can't find any.


Sample image.

enter image description here

See ui-select2 documentation. https://github.com/angular-ui/ui-select

3
  • 1
    you should keep your new button beside the dropdown instead of inside the dropdown, because dropdown click event won't be considered as button click. Commented Dec 1, 2016 at 13:28
  • Have you achieved it? Commented Jun 20, 2017 at 14:56
  • I need something like this too...have you solved? Commented Jul 5, 2017 at 1:55

1 Answer 1

0

You can do this instead

<div class="input-group">
   <--- ui-select here --!>                         
   <span class="input-group-btn">
        <a class="btn btn-default" href="" target="_blank"><i class="glyphicon glyphicon-plus"></i></a>
   </span>
 </div>
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.