Merge pull request #11103 from Budibase/fix/grid-surface-sql-errors
Handle errors in grid when adding a new row
This commit is contained in:
commit
179f9a5334
|
@ -245,8 +245,7 @@ export const deriveStores = context => {
|
|||
focusedCellId.set(`${rowId}-${erroredColumns[0]}`)
|
||||
}
|
||||
} else {
|
||||
// Some other error - just update the current cell
|
||||
validation.actions.setError(get(focusedCellId), error?.message || "Error")
|
||||
get(notifications).error(error?.message || "An unknown error occurred")
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue