@thecb/components 10.9.0-beta.1 → 10.9.0-beta.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.cjs.js
CHANGED
|
@@ -40922,8 +40922,9 @@ var AddressForm = function AddressForm(_ref) {
|
|
|
40922
40922
|
dataQa: "State or Province",
|
|
40923
40923
|
isRequired: true
|
|
40924
40924
|
}), /*#__PURE__*/React__default.createElement(FormInput$1, {
|
|
40925
|
-
isNum: isUS
|
|
40926
|
-
formatter
|
|
40925
|
+
isNum: isUS
|
|
40926
|
+
// formatter={isUS ? zipFormat : null}
|
|
40927
|
+
,
|
|
40927
40928
|
labelTextWhenNoError: "Zip code",
|
|
40928
40929
|
errorMessages: zipErrorMessages,
|
|
40929
40930
|
field: fields.zip,
|
|
@@ -49068,8 +49069,9 @@ var PhoneForm = function PhoneForm(_ref) {
|
|
|
49068
49069
|
errorMessages: phoneErrorMessage,
|
|
49069
49070
|
field: fields.phone,
|
|
49070
49071
|
fieldActions: actions.fields.phone,
|
|
49071
|
-
showErrors: showErrors
|
|
49072
|
-
formatter
|
|
49072
|
+
showErrors: showErrors
|
|
49073
|
+
// formatter={createFormat(phoneFormats, formatDelimiter)}
|
|
49074
|
+
,
|
|
49073
49075
|
onKeyUp: function onKeyUp(e) {
|
|
49074
49076
|
return e.key === "Enter" && handleSubmit(e);
|
|
49075
49077
|
},
|