@bbl-digital/snorre 3.0.47 → 3.0.50
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.js +3 -1
- package/esm/core/Input/index.js +3 -1
- package/lib/core/Input/index.js +3 -1
- package/package.json +1 -1
package/dist/bundle.js
CHANGED
|
@@ -1028,8 +1028,10 @@
|
|
|
1028
1028
|
children: props.label
|
|
1029
1029
|
}), jsxRuntime$1.jsx("input", {
|
|
1030
1030
|
type: type,
|
|
1031
|
+
...(type !== 'password' && {
|
|
1032
|
+
value
|
|
1033
|
+
}),
|
|
1031
1034
|
placeholder: props.placeholder,
|
|
1032
|
-
value: value,
|
|
1033
1035
|
disabled: props.disabled,
|
|
1034
1036
|
autoFocus: props.focus,
|
|
1035
1037
|
onBlur: props.onBlur,
|
package/esm/core/Input/index.js
CHANGED
|
@@ -64,8 +64,10 @@ const Input = /*#__PURE__*/React.forwardRef(({
|
|
|
64
64
|
children: props.label
|
|
65
65
|
}), _jsx("input", {
|
|
66
66
|
type: type,
|
|
67
|
+
...(type !== 'password' && {
|
|
68
|
+
value
|
|
69
|
+
}),
|
|
67
70
|
placeholder: props.placeholder,
|
|
68
|
-
value: value,
|
|
69
71
|
disabled: props.disabled,
|
|
70
72
|
autoFocus: props.focus,
|
|
71
73
|
onBlur: props.onBlur,
|
package/lib/core/Input/index.js
CHANGED
|
@@ -64,8 +64,10 @@ const Input = /*#__PURE__*/React.forwardRef(({
|
|
|
64
64
|
children: props.label
|
|
65
65
|
}), _jsx("input", {
|
|
66
66
|
type: type,
|
|
67
|
+
...(type !== 'password' && {
|
|
68
|
+
value
|
|
69
|
+
}),
|
|
67
70
|
placeholder: props.placeholder,
|
|
68
|
-
value: value,
|
|
69
71
|
disabled: props.disabled,
|
|
70
72
|
autoFocus: props.focus,
|
|
71
73
|
onBlur: props.onBlur,
|