Question T2797
Visible to All Users

Dropdown optgroup

created 5 years ago

Hi,

Is there a way to create optgroups in a dropdown element? Preferably using the choicesbyurl attribute but if not any other way would be helpful.

Thanks,
Conor

Answers approved by surveyjs Support

created 5 years ago

Hello Conor,
We have the request for adding categories into dropdown, checkbox and radiogroup questions. Unfortunately, we do not have implemented this functionality yet. It is in our list though. Theoretically, you may implement it via custom coding, but it would be really tricky.

Thank you,
Andrew
SurveyJS Team

    Other Answers

    created 5 years ago

    Thanks for the update Andrew. I'll work around it for now.

      created 5 years ago

      Thanks Andrew,

      Do you have any idea of a timeline for when you hope to implement this?

      Regards,
      Conor

        Comments (2)

          Hello,

          Unfortunately we can't give you any estimations.

          Thanks, Serge
          SurveyJS Team

            I will try to be more transparent.
            We have to finish with our new design for SurveyJS Library, finish with Survey Analytics Pack, release new website we are working on and after that we are going to work on new design (better UI) for SurveyJS Creator. During work on new Creator UI, I want to introduce the ability to show (optionally) category in choices. We will use categories in optgroup. As Serge said, it is hard to give any good estimates right now. There are many variables on the table.

            Thank you,
            Andrew
            SurveyJS Team