|
|
|
|
|
|
|
|
import { CloseOutlined } from '@ant-design/icons'; |
|
|
import { CloseOutlined } from '@ant-design/icons'; |
|
|
import { Button, Card, Divider, Form, Input, Select, Typography } from 'antd'; |
|
|
|
|
|
|
|
|
import { Button, Card, Divider, Form, Input, Select } from 'antd'; |
|
|
import { useMemo } from 'react'; |
|
|
import { useMemo } from 'react'; |
|
|
import { useTranslation } from 'react-i18next'; |
|
|
import { useTranslation } from 'react-i18next'; |
|
|
import { |
|
|
import { |
|
|
|
|
|
|
|
|
options={buildCategorizeToOptions(getSelectedConditionTos())} |
|
|
options={buildCategorizeToOptions(getSelectedConditionTos())} |
|
|
/> |
|
|
/> |
|
|
</Form.Item> |
|
|
</Form.Item> |
|
|
|
|
|
|
|
|
<Form.Item noStyle shouldUpdate> |
|
|
|
|
|
{() => ( |
|
|
|
|
|
<Typography> |
|
|
|
|
|
<pre>{JSON.stringify(form?.getFieldsValue(), null, 2)}</pre> |
|
|
|
|
|
</Typography> |
|
|
|
|
|
)} |
|
|
|
|
|
</Form.Item> |
|
|
|
|
|
</Form> |
|
|
</Form> |
|
|
); |
|
|
); |
|
|
}; |
|
|
}; |