You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 7, 2021. It is now read-only.
When adding data using the new Selectr(..., {data: []}) method, custom attributes seem to be ignored versus when adding them through instance.add(...), which also ignores option groups.
The following does not seem to work properly (Only adds the groups)
When adding data using the
new Selectr(..., {data: []})
method, custom attributes seem to be ignored versus when adding them throughinstance.add(...)
, which also ignores option groups.The following does not seem to work properly (Only adds the groups)
This works but does not attach the 'data-custom' attribute to the option elements
Is there a work around for this?
I would like to have the option groups as well as custom attributes.
The text was updated successfully, but these errors were encountered: