Skip to content
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions shesha-reactjs/src/components/dataList/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -370,6 +370,7 @@ export const DataList: FC<Partial<IDataListProps>> = ({
formEntityType = entityType ?? item?._className;
}
if (formSelectionMode === 'expression') {
formEntityType = '$expressionForm$';
fId = getFormIdFromExpression(item);
}
if (!!fId || !!fType)
Expand All @@ -393,6 +394,9 @@ export const DataList: FC<Partial<IDataListProps>> = ({
formEntityType = entityType ?? item?._className;
fType = formType;
}
if (formSelectionMode === 'expression') {
formEntityType = '$expressionForm$';
}

let entityForm = entityForms.current.find((x) => isEntityTypeIdEqual(x.entityType, formEntityType) && x.formType === fType);

Expand Down