-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Allow render functions in options to return DOM. #617
Conversation
Looks like childNodes is supported better across browsers.
@brianreavis what's stoping this from getting merged? Maybe we can help? |
@brianreavis Any updates? +1 |
+1 |
1 similar comment
+1 |
@brianreavis Can we please get some attention on this PR? Is there anything preventing you from merging this in? There is a a fairly large group of people wanting this PR to go in because there is an Ember addon depending on this PR. |
+1 |
If there's anything left to do, please let me know. If this feature isn't something you want to support, feel free to close this PR. |
+1 |
Great PR, thanks! |
This PR allows the functions in the render options "option", "item", "option_create", "optgroup_header", "optgroup" to return DOM nodes instead of plain strings.
This should come in handy, in contexts where we do not have strings but DOM, like in ember.js.
See:
https://github.com/miguelcobain/ember-selectize/blob/master/src/ember.selectize.js#L476
which caused
emberjs/ember.js#5534
I have no idea what I'm going to break with these changes :)