check form updates

This commit is contained in:
2022-06-07 14:36:47 +01:00
parent 3b61d651f6
commit 9d90b7f0a8
22 changed files with 356 additions and 133 deletions
+13
View File
@@ -39,6 +39,19 @@ export const getPickListLabel = (data, picklistType, picklistID) => {
return pickListLabel[0];
};
export const getRadioLabel = (data, radiotListName, radioListID) => {
const radioListData = jsonpath.query(
data,
"$..[?(@.LogicalName=='" + radiotListName + "')]"
);
const pickListLabel = jsonpath.query(
radioListData,
"$..[?(@.Value=='" + radioListID + "')].Label.LocalizedLabels..Label"
);
return pickListLabel[0];
};
/*
* Get the details of a case from the appeal type
* @param object searchResultsObj