11

How to clear the selected value in angular-ui select. I want something like this enter image description here

Kalhan.Toress
  • 21,683
  • 8
  • 68
  • 92

1 Answers1

24

You should define it in select-match

<ui-select-match allow-clear="true" placeholder="Select something">   
    {{$select.selected.name}}
</ui-select-match>
Artyom Trityak
  • 647
  • 6
  • 17