Skip to content

Commit e37b342

Browse files
authored
fix: matrix in grid and summary card not correctly saved in db (ReliefApplications#748)
* fixed back to suppport matrix row and columns name * merged beta, removed celltype to be consistant with matrixdropdown, and repaired label bug
1 parent 509b670 commit e37b342

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/utils/form/extractFields.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,8 +118,8 @@ export const extractFields = async (object, fields, core): Promise<void> => {
118118
columns: element.columns.map((x) => {
119119
return {
120120
name: x.name,
121-
cellType: x.cellType,
122-
label: x.name,
121+
type: x.cellType,
122+
label: x.title,
123123
};
124124
}),
125125
choices: element.choices.map((x) => {

0 commit comments

Comments
 (0)