IO-794 Add vendor active field

This commit is contained in:
Patrick Fic
2021-03-22 17:48:24 -07:00
parent 43a266c463
commit aced67f835
15 changed files with 309 additions and 4 deletions

View File

@@ -6,6 +6,7 @@ import {
InputNumber,
Select,
Space,
Switch,
Typography,
} from "antd";
import React from "react";
@@ -49,6 +50,14 @@ export default function VendorsFormComponent({
>
<Input />
</Form.Item>
<Form.Item
label={t("vendors.fields.active")}
name="active"
initialValue={true}
valuePropName="checked"
>
<Switch />
</Form.Item>
<Form.Item
label={t("vendors.fields.email")}
rules={[