There was an error while loading. Please reload this page.
1 parent 4cdf5f3 commit ce3994cCopy full SHA for ce3994c
1 file changed
src/cdk/table/table-errors.ts
@@ -28,7 +28,10 @@ export function getTableDuplicateColumnNameError(name: string) {
28
* @docs-private
29
*/
30
export function getTableMultipleDefaultRowDefsError() {
31
- return Error(`There can only be one default row without a when predicate function.`);
+ return Error(
32
+ `There can only be one default row without a when predicate function. ` +
33
+ 'Or set `multiTemplateDataRows`.'
34
+ );
35
}
36
37
/**
@@ -37,7 +40,7 @@ export function getTableMultipleDefaultRowDefsError() {
40
38
41
export function getTableMissingMatchingRowDefError(data: any) {
39
42
return Error(
- `Could not find a matching row definition for the` +
43
+ `Could not find a matching row definition for the ` +
44
`provided row data: ${JSON.stringify(data)}`,
45
);
46
0 commit comments