Skip to content

Commit 588e409

Browse files
committed
Fix placeholder appearing with value when the when returning to the page from back press.
1 parent 196a818 commit 588e409

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

jquery.selectize.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -538,6 +538,7 @@
538538

539539
this.updateOriginalInput();
540540
this.refreshItems();
541+
this.updatePlaceholder();
541542
this.isSetup = true;
542543
};
543544

jquery.selectize.min.js

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/selectize.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,7 @@ Selectize.prototype.setup = function() {
171171

172172
this.updateOriginalInput();
173173
this.refreshItems();
174+
this.updatePlaceholder();
174175
this.isSetup = true;
175176
};
176177

0 commit comments

Comments
 (0)