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
wip: fix type errors
neilk173e6947bc6c78
diff --git a/apps/carbon/app/components/Form/PhoneInput.tsx b/apps/carbon/app/components/Form/PhoneInput.tsxindex dab03dc5b9..8881501d73 100644--- a/apps/carbon/app/components/Form/PhoneInput.tsx+++ b/apps/carbon/app/components/Form/PhoneInput.tsx@@ -32,8 +32,8 @@ type PhoneInputProps = InputProps & {isRequired?: boolean;} & Omit<React.InputHTMLAttributes<HTMLInputElement>, "onChange" | "value"> &Omit<ReactPhoneInput.Props<typeof ReactPhoneInput.default>, "onChange"> & {- onChange: (value: ReactPhoneInput.Value) => void;- value: ReactPhoneInput.Value;+ onChange?: (value: ReactPhoneInput.Value) => void;+ value?: ReactPhoneInput.Value;};const PhoneInput: React.ForwardRefExoticComponent<PhoneInputProps> =@@ -58,7 +58,10 @@ const PhoneInput: React.ForwardRefExoticComponent<PhoneInputProps> =** @param {E164Number | undefined} value - The entered value*/- onChange={(value) => onChange(value || "")}+ onChange={(value) =>+ props.onChange ? props.onChange(value || "") : undefined+ }+ // onChange={(value) => onchange(value || "")}{...props}/></FormControl>