Skip to content
Advertisement

Tag: jquery-chosen

Chosen JS – Add the optgroup to the selected item

I want to find the way to enter the optgroup label into the inserted search-choice item, when the user select a option. With the format [optgroup]-[option]. The problem is that by default there is no a clear way to do it. Any suggestions on how to achieve this behavior? Thank you in advance. This is the default behavior This is

Advertisement