We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9b86312 commit f0e31cdCopy full SHA for f0e31cd
1 file changed
angular-chosen.js
@@ -68,13 +68,15 @@
68
}
69
70
var allowSingleDeselect = iElm.attr('allow-single-deselect') !== undefined ? true : false;
71
+ var noResultsText = iElm.attr('no-results-text') !== undefined ? iAttr.noResultsText : "No results found.";
72
73
iElm.chosen({
74
width: '100%',
75
max_selected_options: maxSelection,
76
disable_search_threshold: searchThreshold,
77
search_contains: true,
- allow_single_deselect: allowSingleDeselect
78
+ allow_single_deselect: allowSingleDeselect,
79
+ no_results_text: noResultsText
80
});
81
82
iElm.on('change', function () {
0 commit comments