|
|
@ -25,10 +25,11 @@ const ProductInfoLgc = ({ editable, formInstance, ...props }) => {
|
|
|
|
forceRender: true,
|
|
|
|
forceRender: true,
|
|
|
|
children: (
|
|
|
|
children: (
|
|
|
|
<Form.Item noStyle>
|
|
|
|
<Form.Item noStyle>
|
|
|
|
<Form.Item name={['lgc_details_mapped', `${ele.lgc}`, 'title']} label={t('products:Title')} initialValue={ele.title} rules={[{ required: true }]} tooltip={t('FormTooltip.Title')}>
|
|
|
|
<Form.Item name={['lgc_details_mapped', `${ele.lgc}`, 'title']} label={t('products:Title')} initialValue={ele.title} rules={[{ required: true }]} tooltip={t(`FormTooltip.NewTitle.${editingProduct?.info?.product_type_id}`)}>
|
|
|
|
<Input
|
|
|
|
<Input
|
|
|
|
className={' !text-slate-600'}
|
|
|
|
className={' !text-slate-600'}
|
|
|
|
allowClear
|
|
|
|
allowClear
|
|
|
|
|
|
|
|
placeholder={t(`FormTooltip.NewTitle.${editingProduct?.info?.product_type_id}`)}
|
|
|
|
// onChange={(e) => handleChange('title', e.target.value)}
|
|
|
|
// onChange={(e) => handleChange('title', e.target.value)}
|
|
|
|
// disabled={ignoreEditable ? false : (!isEmpty(ele.title) || !editable)}
|
|
|
|
// disabled={ignoreEditable ? false : (!isEmpty(ele.title) || !editable)}
|
|
|
|
// disabled={ignoreEditable ? false : !editable}
|
|
|
|
// disabled={ignoreEditable ? false : !editable}
|
|
|
@ -86,8 +87,8 @@ const ProductInfoLgc = ({ editable, formInstance, ...props }) => {
|
|
|
|
key: lgcItem.value,
|
|
|
|
key: lgcItem.value,
|
|
|
|
children: (
|
|
|
|
children: (
|
|
|
|
<Form.Item noStyle>
|
|
|
|
<Form.Item noStyle>
|
|
|
|
<Form.Item name={['lgc_details_mapped', `${lgcItem.value}`, 'title']} preserve={false} label={t('products:Title')} rules={[{ required: true }]} tooltip={t('FormTooltip.Title')}>
|
|
|
|
<Form.Item name={['lgc_details_mapped', `${lgcItem.value}`, 'title']} preserve={false} label={t('products:Title')} rules={[{ required: true }]} tooltip={t(`FormTooltip.NewTitle.${editingProduct?.info?.product_type_id}`)}>
|
|
|
|
<Input allowClear />
|
|
|
|
<Input allowClear placeholder={t(`FormTooltip.NewTitle.${editingProduct?.info?.product_type_id}`)} />
|
|
|
|
</Form.Item>
|
|
|
|
</Form.Item>
|
|
|
|
<Form.Item name={['lgc_details_mapped', `${lgcItem.value}`, 'description']} preserve={false} label={t('products:Description')} tooltip={t('FormTooltip.Description')}>
|
|
|
|
<Form.Item name={['lgc_details_mapped', `${lgcItem.value}`, 'description']} preserve={false} label={t('products:Description')} tooltip={t('FormTooltip.Description')}>
|
|
|
|
<Input.TextArea rows={3} allowClear />
|
|
|
|
<Input.TextArea rows={3} allowClear />
|
|
|
|