Skip to content
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

Closed
wants to merge 5 commits into from

Conversation

topaxi
Copy link
Contributor

@topaxi topaxi commented Nov 12, 2014

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 :)

@miguelcobain
Copy link
Contributor

@brianreavis what's stoping this from getting merged? Maybe we can help?

@cottrellio
Copy link

@brianreavis Any updates? +1

@shishirmk
Copy link

+1

1 similar comment
@Ramblurr
Copy link

+1

@cottrellio
Copy link

@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.

@yankeeinlondon
Copy link

+1

@topaxi
Copy link
Contributor Author

topaxi commented Nov 21, 2015

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.

@joaobarcia
Copy link

+1

joallard added a commit that referenced this pull request Jan 3, 2016
@joallard
Copy link
Member

joallard commented Jan 3, 2016

Great PR, thanks!

@joallard joallard closed this Jan 3, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

8 participants