Open-source manufacturing ERP, MES and QMS. Quoting, MRP, inventory, shop floor, quality and lot/serial traceability on one Postgres schema, with a REST API and MCP server. Self-host or use Carbon Cloud.
TypeScript ai-agentsbill-of-materialserpinventory-managementleanmanufacturingmanufacturing-execution-systemmcp-servermesmrpopen-source-erppostgresqlproduction-planningqmsquality-management-systemreact-routerself-hostedsupabasetraceabilitytypescript
Update Phone component to PhoneInput in Form and fix scroll issue
neilk170463534824b5
diff --git a/apps/carbon/app/components/Form/PhoneInput.tsx b/apps/carbon/app/components/Form/PhoneInput.tsxindex 6461824ff3..d3735793d2 100644--- a/apps/carbon/app/components/Form/PhoneInput.tsx+++ b/apps/carbon/app/components/Form/PhoneInput.tsx@@ -114,7 +114,7 @@ const CountrySelect = ({);return (- <Popover>+ <Popover modal={true}><PopoverTrigger asChild><Buttonvariant={"ghost"}diff --git a/apps/carbon/app/components/Form/index.ts b/apps/carbon/app/components/Form/index.tsindex 33ac52fb4c..81fc4f5d8b 100644--- a/apps/carbon/app/components/Form/index.ts+++ b/apps/carbon/app/components/Form/index.ts@@ -26,7 +26,6 @@ import Number from "./Number";import NumberControlled from "./NumberControlled";import Part from "./Part";import Password from "./Password";-import Phone from "./Phone";import PhoneInput from "./PhoneInput";import Radios from "./Radios";import RichText from "./RichText";@@ -76,7 +75,6 @@ export {NumberControlled,Part,Password,- Phone,PhoneInput,Radios,RichText,diff --git a/apps/carbon/app/modules/purchasing/ui/Supplier/SupplierContactForm.tsx b/apps/carbon/app/modules/purchasing/ui/Supplier/SupplierContactForm.tsxindex 662c81fe8f..11efc6a439 100644--- a/apps/carbon/app/modules/purchasing/ui/Supplier/SupplierContactForm.tsx+++ b/apps/carbon/app/modules/purchasing/ui/Supplier/SupplierContactForm.tsx@@ -15,7 +15,7 @@ import {DatePicker,Hidden,Input,- Phone,+ PhoneInput,Submit,TextArea,} from "~/components/Form";@@ -73,10 +73,10 @@ const SupplierContactForm = ({ initialValues }: SupplierContactFormProps) => {<Input name="lastName" label="Last Name" /><Input name="email" label="Email" /><Input name="title" label="Title" />- <Phone name="mobilePhone" label="Mobile Phone" />- <Phone name="homePhone" label="Home Phone" />- <Phone name="workPhone" label="Work Phone" />- <Phone name="fax" label="Fax" />+ <PhoneInput name="mobilePhone" label="Mobile Phone" />+ <PhoneInput name="homePhone" label="Home Phone" />+ <PhoneInput name="workPhone" label="Work Phone" />+ <PhoneInput name="fax" label="Fax" /><Input name="addressLine1" label="Address Line 1" /><Input name="addressLine2" label="Address Line 2" /><Input name="city" label="City" />