Fix incorrect dependency between weight unit and width value fields

This commit is contained in:
2025-05-06 17:37:12 +02:00
parent eb6add3d29
commit e5e64335a1
7 changed files with 8 additions and 8 deletions

View File

@ -329,7 +329,7 @@ final class CsvxmlAvailableFields {
),
"dimensions_separate_weight_unit" => new FieldEntry(
allowedValues: MDUnitsSet::UNITS_WEIGHT,
dependsOn: ['dimensions_separate_width_value', 'dimensions_separate_show_md', 'dimensions_separate_show_extern'],
dependsOn: ['dimensions_separate_weight_value', 'dimensions_separate_show_md', 'dimensions_separate_show_extern'],
remark: 'If a separated value is given an entry for the respective unit is necessary. If a separated dimension entry is given, <i>dimensions_separate_show_md</i> and <i>dimensions_separate_show_extern</i> need to be filled in, too.',
name_human_readable: $tlLoader->tl("export", "export", 'exact_measurements_weight_unit'),
explica: $tlLoader->tl("object_basis", "object_basis", 'inv_explica')