Skip to content

Customizing the array layout #992

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
danieljosephbrennan opened this issue May 31, 2018 · 4 comments
Closed

Customizing the array layout #992

danieljosephbrennan opened this issue May 31, 2018 · 4 comments
Milestone

Comments

@danieljosephbrennan
Copy link

Is it possible to specify the layout within an array?
I.e. I would like to use VerticalLayout and HorizontalLayout within the array?

@edgarmueller
Copy link
Contributor

edgarmueller commented Jun 1, 2018

No, currently not, since it's hard-coded (it actually depends on the renderer set), but we'll add support for specifying an UI schema for an element within the array soon, which I think would solve your issue. This issue (supporting for specifying an UI elements within the array) popped up a few times by now, but we still haven't decided whether we wan't to support this via an additional option declarativly or use a separate UI schema registry similar to the renderer registry, or even both. We'll use this ticket to track this.

@eneufeld
Copy link
Member

eneufeld commented Jun 2, 2018

The Editor Package already has a ui schema registry: https://github.com/eclipsesource/jsonforms/blob/master/packages/editor/src/reducers/index.ts#L36
Maybe we should move this to the core?

@edgarmueller
Copy link
Contributor

Right, thanks for pointing it out.

@edgarmueller edgarmueller modified the milestones: 2.0.2, 2.0.3 Jun 18, 2018
@edgarmueller edgarmueller modified the milestones: 2.0.3, 2.0.2 Jun 28, 2018
@edgarmueller
Copy link
Contributor

Fixed via #1013 and released with 2.0.2. You can find some documentation about this in the Providing UI schemas section. If you should have any additional questions/issues, let us know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants