Skip to content

Commit 6ff15b6

Browse files
committed
Added blur_on_select option.
1 parent 0d3b44c commit 6ff15b6

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

massautocomplete.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -321,6 +321,10 @@ angular.module('MassAutoComplete', [])
321321
update_model_value(selected.value);
322322
hide_autocomplete();
323323

324+
if(current_options.blur_on_select){
325+
current_element[0].blur();
326+
}
327+
324328
if (current_options.on_select) {
325329
current_options.on_select(selected);
326330
}

massautocomplete.min.js

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

0 commit comments

Comments
 (0)