We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef97e44 commit d8371c2Copy full SHA for d8371c2
packages/material-renderers/src/complex/MaterialTableControl.tsx
@@ -47,7 +47,7 @@ import {
47
import {
48
ArrayLayoutProps,
49
ControlElement,
50
- errorsAt,
+ errorAt,
51
formatErrorMessage,
52
JsonSchema,
53
Paths,
@@ -177,11 +177,10 @@ const ctxToNonEmptyCellProps = (
177
(ownProps.schema.type === 'object' ? '.' + ownProps.propName : '');
178
const errors = formatErrorMessage(
179
union(
180
- errorsAt(
+ errorAt(
181
path,
182
- ownProps.schema,
183
- (p) => p === path
184
- )(ctx.core.errors).map((error: ErrorObject) => error.message)
+ ownProps.schema
+ )(ctx.core).map((error: ErrorObject) => error.message)
185
)
186
);
187
return {
0 commit comments