diff --git a/comps/form/field/type/TypeInput.tsx b/comps/form/field/type/TypeInput.tsx index 639a809..5d3800b 100755 --- a/comps/form/field/type/TypeInput.tsx +++ b/comps/form/field/type/TypeInput.tsx @@ -116,7 +116,8 @@ export const FieldTypeInput: FC<{ switch (type_field) { case "toggle": return ( -
ad +
+ ad
{ fm.data[field.name] = ev.currentTarget.value.replace(/\D/g, ""); diff --git a/comps/form/typings.ts b/comps/form/typings.ts index 80b75ca..76f32d5 100755 --- a/comps/form/typings.ts +++ b/comps/form/typings.ts @@ -220,6 +220,8 @@ export const formType = (active: { item_id: string }, meta: any) => { } } + console.log(data, cache); + return ` const ___data = ${data} ; const fm = null as unknown as { diff --git a/modules.json b/modules.json index d05ad12..b602b48 100755 --- a/modules.json +++ b/modules.json @@ -11,7 +11,7 @@ "@radix-ui/react-navigation-menu": "^1.2.0", "@radix-ui/react-popover": "^1.0.7", "@radix-ui/react-progress": "^1.1.0", - "@react-input/mask": "^1.2.5", + "@react-input/mask": "^1.2.11", "@radix-ui/react-scroll-area": "^1.1.0", "@radix-ui/react-slider": "^1.1.2", "@radix-ui/react-slot": "^1.0.2",