From 471cbe967bbe9d224175358845ca807ea4f3786a Mon Sep 17 00:00:00 2001 From: Kiho Chang Date: Mon, 14 Oct 2024 19:29:18 -0700 Subject: [PATCH] Revert "patch to fix option to store option value instead of key" --- src/form.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/form.jsx b/src/form.jsx index 3806ef47..7ebed11a 100644 --- a/src/form.jsx +++ b/src/form.jsx @@ -162,7 +162,7 @@ class ReactForm extends React.Component { item.options.forEach(option => { const $option = ReactDOM.findDOMNode(ref.options[`child_ref_${option.key}`]); if ($option.checked) { - checked_options.push(option.value); + checked_options.push(option.key); } }); itemData.value = checked_options;