eclipsesource / eclipsesource/jsonforms

identifying child nodes /elements for css

Open
#1,854 1 comment 0 reactions 0 assignees View on GitHub
enhancement react vanilla
Dominant language
TypeScript
Stars
2.7k
Forks
424
Avg merge
17d 8h
Merged PRs (30d)
1

Description

### Describe the bug

It is very difficult to target some css as we can't identify individual controls.

could we therefore by default change the line here
https://github.com/eclipsesource/jsonforms/blob/988f282c0f5b51ca8f2bc5d306b24f9e56230abd/packages/vanilla/src/layouts/util.tsx#L51

where the `path` or combination of path and index can be used to concat a class name for `className="vertical-layout-item"` then becomes something like `className="vertical-layout-item {{path}}"` where path could be `username` for instance.

### Expected behavior

see above step.

then change

`

`
to
`
`

### Steps to reproduce the issue

1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

### Screenshots

![IMG_ED26A4C278D7-1](https://user-images.githubusercontent.com/4041841/146360385-d9c785e0-d18b-4cf9-ae92-bc3eaf8576ae.jpeg)

### In which browser are you experiencing the issue?

n/a

### Framework

React

### RendererSet

Vanilla

### 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.