-
Notifications
You must be signed in to change notification settings - Fork 617
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
data-custom-properties not picked up if option is inside an optgroup #543
Comments
data-custom-properties
not picked up if option
is inside an optgroup
Please may you provide a jsfiddle highlighting the issue |
Here's a fiddle that highlights this, and my other two issues in one: |
Hi, I'm also facing this issue, there's any more info about this? |
Thanks for contributing to this issue. As it has been 60 days since the last activity, this issue is being automatically closed. This is often because the request was already solved in some way and it just wasn't updated or it's no longer applicable. If that's not the case, please do feel free to either reopen this issue or open a new one. We'll gladly take a look again! |
this issue persist on 9.0.1 |
Dirty fix for this one is find the var addGroupChoices = function (choice) { ... change the customPropeties: choice.customProperties in to customProperties: choice.getAttribute('data-custom-properties'), |
I've been using
<option data-custom-properties="somevalue">
on my multiple select to store some additional data I need. This has been working fine until today when I wrapped my<option>
s in an<optgroup>
. Suddenly all mycustomProperties
arenull
. This looks like a bug to me?The text was updated successfully, but these errors were encountered: