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

Feature/dont fire change if nothing changed #1754

Merged

Conversation

rotdrop
Copy link
Contributor

@rotdrop rotdrop commented Feb 5, 2022

Don't fire a change event if setValue() did not change anything.

… input.

If $input is not actually an <input .../> but e.g. a select then blindly
copying $input.type results in an undefined or strange type property
for the $control_input.
Copy link
Contributor

@risadams risadams left a comment

Choose a reason for hiding this comment

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

Can you please add a unit test for this?

@github-actions
Copy link
Contributor

This pull request is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 5 days

@risadams risadams added pending review This issue was closed as stale; since then additional review has been requested. and removed no-pr-activity labels Jun 13, 2022
@risadams risadams merged commit 3933709 into selectize:master Oct 18, 2022
@rotdrop rotdrop deleted the feature/dont-fire-change-if-nothing-changed branch October 27, 2022 08:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hacktoberfest-accepted pending review This issue was closed as stale; since then additional review has been requested.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants