check form updates
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user