eclipsesource / eclipsesource/jsonforms

Improve Error Properties of Arrays

Open
#2,052 0 comments 0 reactions 0 assignees View on GitHub
core
Dominant language
TypeScript
Stars
2.7k
Forks
424
Avg merge
17d 8h
Merged PRs (30d)
1

Description

### Is your feature request related to a problem? Please describe.

Currently there is only one error-property for arrays, which contains errors from the top level of the array as well as all error messages from its items. This makes it difficult to distinguish between the two types of errors in the array-renderer. For example, it´s not possible to ignore the error messages of the items at the top level of the array, like requested in #1760.

### Describe the solution you'd like

Only show the toplevel errors of the array in the error property. Additionally add a childError-property, that list all errormessages of the items.

### Describe alternatives you've considered

-

### Framework

Core

### RendererSet

_No response_

### Additional context

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.