@measured/puck 0.16.2 → 0.16.3-canary.5ba9399

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.js CHANGED
@@ -1607,7 +1607,7 @@ var DefaultField = ({
1607
1607
  autoComplete: "off",
1608
1608
  type: field.type,
1609
1609
  name,
1610
- value: typeof value === "undefined" ? "" : value,
1610
+ value: typeof value === "undefined" ? "" : value.toString(),
1611
1611
  onChange: (e) => {
1612
1612
  if (field.type === "number") {
1613
1613
  onChange(Number(e.currentTarget.value));
package/dist/index.mjs CHANGED
@@ -1420,7 +1420,7 @@ var DefaultField = ({
1420
1420
  autoComplete: "off",
1421
1421
  type: field.type,
1422
1422
  name,
1423
- value: typeof value === "undefined" ? "" : value,
1423
+ value: typeof value === "undefined" ? "" : value.toString(),
1424
1424
  onChange: (e) => {
1425
1425
  if (field.type === "number") {
1426
1426
  onChange(Number(e.currentTarget.value));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@measured/puck",
3
- "version": "0.16.2",
3
+ "version": "0.16.3-canary.5ba9399",
4
4
  "author": "Measured Corporation Ltd <hello@measured.co>",
5
5
  "repository": "measuredco/puck",
6
6
  "bugs": "https://github.com/measuredco/puck/issues",