chosen plugin and optgroup

chosen plugin and optgroup

chelarienchelarien Posts: 3Questions: 1Answers: 0
edited October 2018 in Free community support

Hi all,

I'm trying to put <optgroup> in my select box using chosen plugin, I can't find the way to do it,

The only previous thread i found is this one: https://datatables.net/forums/discussion/comment/70924
saying that chosen plugin doesn't allow to define <optgroup> in "ipOptions" property
But the discussion is quite old, maybe there is now a possibility in the chosen plugin ?

P.S. As a workaround I guess I could do it
- either editing the chosen plugin code (as proposed in the old thread)
- or dynamically on the fly by modifying the <select> just after editor starts
but i'd be happy to do it through Editor's options if possible.

Thanks
Christophe

This question has an accepted answers - jump to answer

Answers

  • chelarienchelarien Posts: 3Questions: 1Answers: 0

    anyone ?

  • allanallan Posts: 61,446Questions: 1Answers: 10,054 Site admin
    Answer ✓

    Hi,

    I'm afraid that the discussion of old is still correct - the Editor list input types don't currently have a structure that is supported for defining optgroups. That is something that is on our list for future enhancements, but isn't available yet.

    Allan

This discussion has been closed.