- updated code productId -> appointmentTemplateId;
This commit is contained in:
@@ -201,7 +201,7 @@ const BandoEditFormStep1 = forwardRef(function ({ initialData, setInitialData, g
|
|||||||
![
|
![
|
||||||
'descriptionShort', 'descriptionLong', 'documentationRequested', 'threshold',
|
'descriptionShort', 'descriptionLong', 'documentationRequested', 'threshold',
|
||||||
'aimedTo', 'criteria', 'docs', 'checklist', 'faq', 'amount', 'amountMin', 'amountMax',
|
'aimedTo', 'criteria', 'docs', 'checklist', 'faq', 'amount', 'amountMin', 'amountMax',
|
||||||
'email', 'phoneNumber', 'checkList', 'images', 'numberOfCheck', 'productId'
|
'email', 'phoneNumber', 'checkList', 'images', 'numberOfCheck', 'appointmentTemplateId'
|
||||||
].includes(fieldName)
|
].includes(fieldName)
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -497,12 +497,12 @@ const BandoEditFormStep1 = forwardRef(function ({ initialData, setInitialData, g
|
|||||||
{APP_HUB_ID !== 't7jh5wfg9QXylNaTZkPoE'
|
{APP_HUB_ID !== 't7jh5wfg9QXylNaTZkPoE'
|
||||||
? <FormField
|
? <FormField
|
||||||
type="numberinput"
|
type="numberinput"
|
||||||
disabled={shouldDisableField('productId')}
|
disabled={shouldDisableField('appointmentTemplateId')}
|
||||||
fieldName="productId"
|
fieldName="appointmentTemplateId"
|
||||||
label={__('Prodotto ID dentro Odessa', 'gepafin')}
|
label={__('Template ID dentro Odessa', 'gepafin')}
|
||||||
control={control}
|
control={control}
|
||||||
errors={errors}
|
errors={errors}
|
||||||
defaultValue={values['productId']}
|
defaultValue={values['appointmentTemplateId']}
|
||||||
config={{
|
config={{
|
||||||
required: __('È obbligatorio', 'gepafin'),
|
required: __('È obbligatorio', 'gepafin'),
|
||||||
}}
|
}}
|
||||||
|
|||||||
Reference in New Issue
Block a user