diff --git a/RELEASE.md b/RELEASE.md index 3089b78c2..a8cbddd2b 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -41,6 +41,12 @@ - ... --> +## Versione x.x.x (xx/xx/xx) + +## Fix + +- Sistemata validazione del campo Timeline tempi e scadenze + ## Versione 8.7.9 (18/10/2023) ### Migliorie diff --git a/src/helpers/FormValidation/DataGridFormValidationHelpers.js b/src/helpers/FormValidation/DataGridFormValidationHelpers.js index 74055d071..89c3ae7e0 100644 --- a/src/helpers/FormValidation/DataGridFormValidationHelpers.js +++ b/src/helpers/FormValidation/DataGridFormValidationHelpers.js @@ -11,7 +11,7 @@ const dgfieldValidationMessages = defineMessages({ export const CUSTOM_DGFIELD_VALIDATION = { timeline_tempi_scadenze: { isValid: (value, itemObj, intlFunc) => { - const isValid = value.every((val, i) => val.title); + const isValid = value.every((val, i) => val.milestone); return !isValid ? intlFunc( dgfieldValidationMessages.timeline_tempi_scadenze_validation_error,