eclipsesource / eclipsesource/jsonforms

Make ControlWrapper configurable in vue-vanilla

Open
#1,927 2 comments 0 reactions 0 assignees View on GitHub
enhancement vanilla vue
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.

We'd like to modify the the way how JsonForms Vanilla for Vue 3 renders controls, to e.g. sth like:

---

**Label**
*Description*
[ Control ]

---

Unfortunately, all built-in control renderers use `ControlWrapper` under the hood that defines this behavior, but it's simply just a hardcoded component that we cannot modify:

https://github.com/eclipsesource/jsonforms/blob/23e1a557d176e27d35febe74c75279b6b29b0a09/packages/vue/vue-vanilla/src/controls/ControlWrapper.vue#L1-L13

### Describe the solution you'd like

Would be great if `ControlWrapper` could be provided by user in configuration or as a renderer, e.g. `ControlWrapperRenderer` just like any other wrapper.

### Describe alternatives you've considered

At this point, we're forced to make a fork to provide desired functionality as it's probably the only way atm.

![unknown-141](https://user-images.githubusercontent.com/4235722/166612937-749edb97-4971-417d-8af4-39cb9c4fd55c.png)

~ https://github.com/reposilite-playground/jsonforms

### Framework

Vue 3

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