We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6fbea9a commit 8257611Copy full SHA for 8257611
src/selectize.jquery.js
@@ -60,7 +60,7 @@ $.fn.selectize = function(settings_user) {
60
var addOption = function($option, group) {
61
$option = $($option);
62
63
- var value = hash_key($option.attr('value'));
+ var value = hash_key($option.val());
64
if (!value && !settings.allowEmptyOption) return;
65
66
// if the option already exists, it's probably been
0 commit comments