optimized-react-component-library-xyz123 0.26.2 → 0.26.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -169,7 +169,7 @@ var MultipleCheckboxes = ({
169
169
  const initialValues = ((_a2 = question.options) == null ? void 0 : _a2.filter((option) => {
170
170
  var _a3;
171
171
  return (_a3 = question.answer) == null ? void 0 : _a3.includes(option.id);
172
- }).map((option) => option.label)) || [];
172
+ }).map((option) => option.id)) || [];
173
173
  console.log("Initial values:", initialValues);
174
174
  setCheckedValues(initialValues);
175
175
  }, [question.answer, question.options]);