Topic: Forms -> Select -> Options groups
IngoJust
pro
asked 5 years ago
I recognized an issue using on Forms -> Select -> Options groups (no mulit select)
If I add a "selected" to any option element (not the first one) the preselected value is wrong. It depends on the number of groups. I assume the JS does not ignore the "optgroup" elements within the "select" Element.
Any ideas for a quick hack?
m.hamacher
priority
answered 5 years ago
Hello,
Any updates when this will be fixed or any hotfix? I have the problem in V 4.8.8 and it's really annoying.
Kind regards,
Matthias
Marta Wierzbicka staff commented 5 years ago
Hi,
here, in the documentation: https://mdbootstrap.com/docs/jquery/forms/multiselect/#v-3 everything looks good. If I check out the wrong issue, please will explain to me what should I check to fix the problem.
Best, Marta
m.hamacher priority commented 5 years ago
Hi Marta,
It is not a problem of multiselect. Only the "single select" with option groups dosen't work properly. Please check the code snippet of IngoJust https://mdbootstrap.com/snippets/jquery/ingojust/967910 There you can see the problem.
Kind regards,
Matthias
Marta Wierzbicka staff commented 5 years ago
Hi,
ok, I'll check this and try to fix.
Best, Marta
IngoJust pro commented 5 years ago
Thank you for your support, @m.hamacher! @Marta Szymanska I can re-emphasize the bug still exists and a it should be fixed asap! Thanks in advance.
IngoJust
pro
answered 5 years ago
Sure, here you go: https://mdbootstrap.com/snippets/jquery/ingojust/967910
MDBootstrap staff commented 5 years ago
This is a certain bug in this functionality. We will investigate the issue of this behaviour and will fix this in the future. Thank you for your contribution.
Marta Wierzbicka
staff
answered 5 years ago
Hi,
would you create a snippet showing the problem here: https://mdbootstrap.com/snippets/? I'll try to help you.
Best, Marta
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- ForumUser: Pro
- Premium support: No
- Technology: MDB jQuery
- MDB Version: 4.8.5
- Device: Laptop
- Browser: Chrome
- OS: Windows 10
- Provided sample code: No
- Provided link: No