|
@@ -1,5 +1,5 @@
|
|
|
import {useSelectFilterOptions} from '@hooks';
|
|
import {useSelectFilterOptions} from '@hooks';
|
|
|
-import {Row, Col, Select} from 'antd';
|
|
|
|
|
|
|
+import {Select} from 'antd';
|
|
|
import classNames from 'classnames';
|
|
import classNames from 'classnames';
|
|
|
import {FC} from 'react';
|
|
import {FC} from 'react';
|
|
|
import {Controller, UseControllerProps} from 'react-hook-form';
|
|
import {Controller, UseControllerProps} from 'react-hook-form';
|
|
@@ -32,11 +32,11 @@ const LDModalSelect: FC<Props> = function({
|
|
|
const [options, {setSelectSearch}] = useSelectFilterOptions(data);
|
|
const [options, {setSelectSearch}] = useSelectFilterOptions(data);
|
|
|
|
|
|
|
|
return (
|
|
return (
|
|
|
- <Row className="full-width" gutter={12}>
|
|
|
|
|
|
|
+ <div className="ld-modal-field">
|
|
|
<Label required={required} name={name}>
|
|
<Label required={required} name={name}>
|
|
|
{label}
|
|
{label}
|
|
|
</Label>
|
|
</Label>
|
|
|
- <Col span={12}>
|
|
|
|
|
|
|
+ <div className="ld-modal-field-wrapper">
|
|
|
<Controller
|
|
<Controller
|
|
|
name={name}
|
|
name={name}
|
|
|
control={control}
|
|
control={control}
|
|
@@ -80,8 +80,8 @@ const LDModalSelect: FC<Props> = function({
|
|
|
);
|
|
);
|
|
|
}}
|
|
}}
|
|
|
/>
|
|
/>
|
|
|
- </Col>
|
|
|
|
|
- </Row>
|
|
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
);
|
|
);
|
|
|
};
|
|
};
|
|
|
|
|
|