From 4a5cc2a0ee821eb7d97a17edd78a1c26fdcd3035 Mon Sep 17 00:00:00 2001 From: Serhii Filonenko Date: Thu, 20 Jun 2024 12:15:45 +0300 Subject: [PATCH] HCK-6859: fix dependency and selection for pk structure segments --- properties_pane/field_level/fieldLevelConfig.json | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/properties_pane/field_level/fieldLevelConfig.json b/properties_pane/field_level/fieldLevelConfig.json index 73600bd..937402e 100644 --- a/properties_pane/field_level/fieldLevelConfig.json +++ b/properties_pane/field_level/fieldLevelConfig.json @@ -140,6 +140,10 @@ making sure that you maintain a proper JSON format. "propertyKeyword": "primaryKeyStructure", "propertyTooltip": "For user-defined key structure, describe the different segments for the PK", "propertyType": "group", + "groupControl": true, + "templateOptions": { + "hasToggler": true + }, "structure": [ { "propertyName": "Segment type", @@ -175,6 +179,10 @@ making sure that you maintain a proper JSON format. "propertyType": "fieldList", "template": "orderedList", "parentType": "primaryKeyStructure", + "disabledItemStrategy": { + "type": "allowTypes", + "parameters": ["string", "number"] + }, "dependency": { "key": "segmentType", "value": "field"