IO-1095 unrequire fields on vehicle create.

This commit is contained in:
Patrick Fic
2021-05-26 10:34:32 -07:00
parent b24c5e7cf1
commit 8a7a5f35c1

View File

@@ -83,24 +83,12 @@ export default function JobsCreateVehicleInfoNewComponent() {
<Form.Item
label={t("vehicles.fields.plate_st")}
name={["vehicle", "data", "plate_st"]}
rules={[
{
required: state.vehicle.new,
//message: t("general.validation.required"),
},
]}
>
<Input disabled={!state.vehicle.new} />
</Form.Item>
<Form.Item
label={t("vehicles.fields.plate_no")}
name={["vehicle", "data", "plate_no"]}
rules={[
{
required: state.vehicle.new,
//message: t("general.validation.required"),
},
]}
>
<Input disabled={!state.vehicle.new} />
</Form.Item>