Skip to content

Added option to disable copying of input classes to drop down. #577

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

Merged
merged 1 commit into from
Sep 23, 2014

Conversation

leevigraham
Copy link
Contributor

No description provided.

brianreavis added a commit that referenced this pull request Sep 23, 2014
Added option to disable copying of input classes to drop down.
@brianreavis brianreavis merged commit 5a1f913 into selectize:master Sep 23, 2014
@brianreavis
Copy link
Member

Excellent. Thanks @leevigraham! I'm with you – sometimes the behavior is more of a nuisance than anything else.

@leevigraham
Copy link
Contributor Author

Yeww! 👍

$dropdown_content = $('<div>').addClass(settings.dropdownContentClass).appendTo($dropdown);

if(self.settings.copyClassesToDropdown) {
debugger;
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a reason why this has been left in? Every time I load a page that has a Selectize element with dev tools open I hit a breakpoint!

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ru-oh… Looks like I left that in but it's not in master anymore: https://github.com/brianreavis/selectize.js/blob/master/src/selectize.js#L121

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See: #579

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.

3 participants