Skip to content

Commit

Permalink
Revert "patch to fix option to store option value instead of key"
Browse files Browse the repository at this point in the history
  • Loading branch information
Kiho authored Oct 15, 2024
1 parent 62a6316 commit 471cbe9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/form.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 471cbe9

Please sign in to comment.