Skip to content

Commit

Permalink
Selectmenu: Properly parse value from options
Browse files Browse the repository at this point in the history
Fixes #10684
  • Loading branch information
scottgonzalez committed Nov 4, 2014
1 parent f656aeb commit 809cc0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/selectmenu.js
Original file line number Diff line number Diff line change
Expand Up @@ -618,7 +618,7 @@ return $.widget( "ui.selectmenu", {
return {
element: option,
index: index,
value: option.attr( "value" ),
value: option.val(),
label: option.text(),
optgroup: optgroup.attr( "label" ) || "",
disabled: optgroup.prop( "disabled" ) || option.prop( "disabled" )
Expand Down

0 comments on commit 809cc0f

Please sign in to comment.