Skip to content

Commit dc2c948

Browse files
committed
Selectmenu: Properly parse value from options
Fixes #10684 (cherry picked from commit 809cc0f) Conflicts: ui/selectmenu.js
1 parent 4686458 commit dc2c948

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
@@ -594,7 +594,7 @@ return $.widget( "ui.selectmenu", {
594594
data.push({
595595
element: option,
596596
index: index,
597-
value: option.attr( "value" ),
597+
value: option.val(),
598598
label: option.text(),
599599
optgroup: optgroup.attr( "label" ) || "",
600600
disabled: optgroup.prop( "disabled" ) || option.prop( "disabled" )

0 commit comments

Comments
 (0)