@mpen/react-basic-inputs 0.1.9 → 0.1.11

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/bundle.cjs CHANGED
@@ -159,7 +159,8 @@ function Select({options, value, invalidValueOption = defaultMakeInvalidValueOpt
159
159
  const fixedKey = fixer.fix(opt, idx);
160
160
  return React.createElement("option", {
161
161
  ...optAttrs,
162
- key: fixedKey
162
+ key: fixedKey,
163
+ value: fixedKey
163
164
  }, opt.text);
164
165
  }))
165
166
  });
package/dist/bundle.mjs CHANGED
@@ -157,7 +157,8 @@ function Select({options, value, invalidValueOption = defaultMakeInvalidValueOpt
157
157
  const fixedKey = fixer.fix(opt, idx);
158
158
  return createElement("option", {
159
159
  ...optAttrs,
160
- key: fixedKey
160
+ key: fixedKey,
161
+ value: fixedKey
161
162
  }, opt.text);
162
163
  }))
163
164
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mpen/react-basic-inputs",
3
- "version": "0.1.9",
3
+ "version": "0.1.11",
4
4
  "packageManager": "yarn@3.5.0",
5
5
  "exports": {
6
6
  ".": {