-
Notifications
You must be signed in to change notification settings - Fork 20
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
doesn't keep the style. #19
Comments
Hi @xbaha ! Could you add some screenshots so we can see what you expect it to look like vs. what it does look like? Thanks! ❤️ |
here with the plugin: Thanks |
Thanks @xbaha, and sorry for the delay! I see what you're talking about in the screenshots, but I'm not able to reproduce it using the data in If it's helpful, here's the code I was using to try to reproduce:
Please let me know when you have code for a minimal reproduction I can look at. Thanks! |
I use styling for parent and children, but it's all gone.
$("#myselect2").select2({
placeholder: 'Select an option',
width: "500px",
data: data,
formatSelection: function(item) {
return item.text
},
formatResult: function(item) {
return item.text
},
templateResult: formatResult,
});
The text was updated successfully, but these errors were encountered: