Skip to content

Commit 809cc0f

Browse files
committed
Selectmenu: Properly parse value from options
Fixes #10684
1 parent f656aeb commit 809cc0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/selectmenu.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -618,7 +618,7 @@ return $.widget( "ui.selectmenu", {
618618
return {
619619
element: option,
620620
index: index,
621-
value: option.attr( "value" ),
621+
value: option.val(),
622622
label: option.text(),
623623
optgroup: optgroup.attr( "label" ) || "",
624624
disabled: optgroup.prop( "disabled" ) || option.prop( "disabled" )

0 commit comments

Comments
 (0)