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.
2 parents 6fbea9a + 8257611 commit 529c2e6Copy full SHA for 529c2e6
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