feature/IO-3499-React-19 - Checkpoint

This commit is contained in:
Dave
2026-01-23 19:24:14 -05:00
parent fe0ddc5824
commit 9475dfb4e8
4 changed files with 7 additions and 5 deletions

View File

@@ -59,7 +59,7 @@ export function PartsOrderModalComponent({
return (
<div>
<Form.Item name="returnfrombill" hidden>
<Input />
<Input type="hidden" />
</Form.Item>
<LayoutFormRow grow noDivider>
<Form.Item

View File

@@ -146,7 +146,9 @@ export function ReportCenterModalComponent({ reportCenterModal, bodyshop }) {
<div className="report-center-modal">
<Form onFinish={handleFinish} autoComplete={"off"} layout="vertical" form={form}>
<Input.Search onChange={(e) => setSearch(e.target.value)} value={search} />
<Form.Item name="defaultSorters" hidden />
<Form.Item name="defaultSorters" hidden>
<Input type="hidden" />
</Form.Item>
<Form.Item
name="key"
label={t("reportcenter.labels.key")}

View File

@@ -159,7 +159,7 @@ export function ShopEmployeeTeamsFormComponent({ bodyshop }) {
{fields.map((field, index) => (
<Form.Item key={field.key} style={{ padding: 0, margin: 2 }}>
<Form.Item label={t("employees.fields.id")} key={`${index}`} name={[field.name, "id"]} hidden>
<Input />
<Input type="hidden" />
</Form.Item>
<LayoutFormRow grow>
<Form.Item

View File

@@ -184,8 +184,8 @@ export function TimeTicketModalComponent({
}}
</Form.Item>
<Form.Item name="flat_rate" label={t("timetickets.fields.flat_rate")} valuePropName="checked" noStyle hidden>
<Switch style={{ display: "none" }} />
<Form.Item name="flat_rate" label={t("timetickets.fields.flat_rate")} valuePropName="checked" hidden>
<Switch />
</Form.Item>
</LayoutFormRow>