@opexa/portal-components 0.0.1038 → 0.0.1039
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.
|
@@ -123,7 +123,7 @@ export function InstapayGCashWithdrawal() {
|
|
|
123
123
|
bankCode: 'BNKGCH',
|
|
124
124
|
});
|
|
125
125
|
});
|
|
126
|
-
return (_jsxs("form", { onSubmit: handleSubmit, noValidate: true, autoComplete: "off", id: "hook-form", children: [_jsx(Controller, { control: form.control, name: "accountNumber", render: (o) => (_jsxs(Field.Root, { invalid: !!form.formState.errors.
|
|
126
|
+
return (_jsxs("form", { onSubmit: handleSubmit, noValidate: true, autoComplete: "off", id: "hook-form", children: [_jsx(Controller, { control: form.control, name: "accountNumber", render: (o) => (_jsxs(Field.Root, { invalid: !!form.formState.errors.accountNumber, className: "mt-3xl", children: [_jsxs(NumberInput.Root, { min: 0, step: 1, value: o.field.value, onValueChange: (details) => {
|
|
127
127
|
o.field.onChange(details.value);
|
|
128
128
|
}, allowMouseWheel: true, children: [_jsx(NumberInput.Label, { children: "Phone Number" }), _jsxs(NumberInput.Control, { children: [_jsx(NumberInput.Input, { onKeyDown: (e) => {
|
|
129
129
|
if (['e', 'E', '.', '-', '+', ','].includes(e.key)) {
|
|
@@ -126,7 +126,6 @@ export function Withdrawal() {
|
|
|
126
126
|
});
|
|
127
127
|
return l;
|
|
128
128
|
})();
|
|
129
|
-
console.log(enabledPaymentMethods, 'payment methods');
|
|
130
129
|
const [paymentMethod, setPaymentMethod] = useState();
|
|
131
130
|
useEffect(() => {
|
|
132
131
|
if (enabledPaymentMethods.length > 0 && !paymentMethod) {
|