@justfixnyc/component-library 0.51.2 → 0.51.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/src/index.es.js +1 -1
- package/dist/src/index.js +1 -1
- package/package.json +1 -1
package/dist/src/index.es.js
CHANGED
|
@@ -546,7 +546,7 @@ const TextInput = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
546
546
|
...props
|
|
547
547
|
} = _ref;
|
|
548
548
|
const inputIsMoney = type === 'money';
|
|
549
|
-
const inputType = inputIsMoney ? '
|
|
549
|
+
const inputType = inputIsMoney ? 'number' : type;
|
|
550
550
|
const textInputWrapperClassNames = classNames('jfcl-text-input', {
|
|
551
551
|
['jfcl-text-input--is-invalid']: invalid,
|
|
552
552
|
["jfcl-text-input--has-prefix"]: inputIsMoney
|
package/dist/src/index.js
CHANGED
|
@@ -557,7 +557,7 @@ const TextInput = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref)
|
|
|
557
557
|
...props
|
|
558
558
|
} = _ref;
|
|
559
559
|
const inputIsMoney = type === 'money';
|
|
560
|
-
const inputType = inputIsMoney ? '
|
|
560
|
+
const inputType = inputIsMoney ? 'number' : type;
|
|
561
561
|
const textInputWrapperClassNames = classNames__default["default"]('jfcl-text-input', {
|
|
562
562
|
['jfcl-text-input--is-invalid']: invalid,
|
|
563
563
|
["jfcl-text-input--has-prefix"]: inputIsMoney
|