tf-checkout-react 1.3.50 → 1.3.51
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/tf-checkout-react.cjs.development.js +6 -2
- package/dist/tf-checkout-react.cjs.development.js.map +1 -1
- package/dist/tf-checkout-react.cjs.production.min.js +1 -1
- package/dist/tf-checkout-react.cjs.production.min.js.map +1 -1
- package/dist/tf-checkout-react.esm.js +6 -2
- package/dist/tf-checkout-react.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/billing-info-container/index.tsx +4 -1
- package/src/components/billing-info-container/utils.ts +1 -2
- package/src/components/common/dist/PhoneNumberField.js +0 -96
|
@@ -2575,7 +2575,7 @@ var getFieldComponent = function getFieldComponent(element) {
|
|
|
2575
2575
|
var type = _get(element, 'type', 'text');
|
|
2576
2576
|
var fieldComponentConfigs = {
|
|
2577
2577
|
checkbox: CheckboxField,
|
|
2578
|
-
select:
|
|
2578
|
+
select: CustomField,
|
|
2579
2579
|
select_multi: SelectField,
|
|
2580
2580
|
phone: PhoneNumberField,
|
|
2581
2581
|
date: DatePickerField,
|
|
@@ -3375,7 +3375,11 @@ var BillingInfoContainer = /*#__PURE__*/React__default.memo(function (_ref4) {
|
|
|
3375
3375
|
value: item.id,
|
|
3376
3376
|
label: item.name
|
|
3377
3377
|
};
|
|
3378
|
-
}) : element.name === 'state' ?
|
|
3378
|
+
}) : element.name === 'state' ? [{
|
|
3379
|
+
label: element.label,
|
|
3380
|
+
value: '',
|
|
3381
|
+
disabled: true
|
|
3382
|
+
}].concat(states) : element.selectOptions || [],
|
|
3379
3383
|
theme: theme,
|
|
3380
3384
|
defaultCountry: defaultCountry || element.defaultCountry,
|
|
3381
3385
|
dateFormat: element.format,
|