Skip to content

Commit 8e318da

Browse files
committed
Using reset was incorrect, just doing nothing fixes the problem
Reset method doesn't exist on drop down
1 parent 4f7e64a commit 8e318da

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

angular-semantic-ui.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1290,7 +1290,7 @@ angular.module('semantic-ui', [
12901290
if (value === null) {
12911291
element.dropdown('clear');
12921292
} else if(value === false){
1293-
element.dropdown('reset');
1293+
// Do nothing
12941294
}
12951295
else if (element.dropdown('is multiple')) {
12961296
if (value instanceof Array) {

angular-semantic-ui.min.js

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

angular-semantic-ui.min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/dropdown/sm-dropdown.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@
165165
if (value === null) {
166166
element.dropdown('clear');
167167
} else if(value === false){
168-
element.dropdown('reset');
168+
// Do nothing
169169
}
170170
else if (element.dropdown('is multiple')) {
171171
if (value instanceof Array) {

0 commit comments

Comments
 (0)