1

I have this:

<select ng-model="post" ng-options="post.manufacturer group by post.category for post in posts">

which creates a perfectly good dropdown with manufacturers grouped on disabled categories in the browser.

I need to make the groups in the dropdown selectable. Is this possible? If so, how do I achieve this?

Per Eriksson
  • 524
  • 1
  • 9
  • 25

1 Answers1

0

I found this thread: Selectable <optgroup> in HTML <select> tag

It explains that "don't think you can" I.e, you cannot make selectable. But you can "reproduce the visual style with css".

Sadly this probably means that the answer to this question is: no.

Community
  • 1
  • 1
Per Eriksson
  • 524
  • 1
  • 9
  • 25