question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Multi select with opt groups does not render checkboxes

See original GitHub issue

If you create a multiple dropdown and add optgroups it does not render the checkboxes.

<select name="children[]" multiple id="multi_select_dropdown">
    <option value="" disabled selected>Choose Routes</option>
    <optgroup label="assigned">
        <option value="3" selected>Option 2</option>
        <option value="3" selected>Option 4</option>
    </optgroup>
    <optgroup label="Unassigned">
        <option value="3" selected>Option 3</option>
        <option value="3" selected>Option 5</option>
    </optgroup>
</select>

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:80 (29 by maintainers)

github_iconTop GitHub Comments

1reaction
Farkicommented, Jan 23, 2017

Hi guys,

fix is here! Just replace forms.js with this: https://gist.github.com/Farki/7f4ed52d95ef8f4fd8bf8e3377bb69e2

Credits: IT Ipsos.cz

1reaction
ryanaddamscommented, Sep 29, 2016

Any update on this getting merged/fixed in the main branch?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Bootstrap Multiselect - Check Optgroup Checkbox
In some instances I need to preselect the options, which can mean all options within an optgroup are selected. However, I can't figure...
Read more >
Multiselect with Option Groups - Material Design for Bootstrap
Another solution to this would be to show the checkbox next to an option group name and just have clicking that option select...
Read more >
Checkbox multi-select not working - Laracasts
I'm using the Bootstrap plug-in to do the checkbox multi-select, but for some reason I'm not getting the multi check-boxes. This is the...
Read more >
Row Selection - JavaScript Data Grid
It is not possible to select multiple rows. ... Checkbox Selection. Checkbox selection can be used in two places: row selection and group...
Read more >
Add a check box control to show Yes/No values
Use the check box control for Yes/No values on a form or report. You can also use option buttons or toggle buttons.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found