Skip to content

uiSchema for definitions #477

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
anttivikman opened this issue Feb 17, 2017 · 3 comments
Closed

uiSchema for definitions #477

anttivikman opened this issue Feb 17, 2017 · 3 comments

Comments

@anttivikman
Copy link

Currently it seems there is no way to define ui options via uiSchema for the definitions. So where using definitions we can remove the repetition in schema, we are still forced to repeat ui options for each field in uiSchema.

Quick sample https://jsfiddle.net/9rwrn19d/1/

@n1k0
Copy link
Collaborator

n1k0 commented Feb 17, 2017

This is indeed a current limitation. Note that meanwhile you can leverage good old JavaScript to avoid too much verbosity: https://jsfiddle.net/yx09e5gp/1/

But I agree it'd be better to natively support uiSchema for definitions.

@MatejBransky
Copy link

MatejBransky commented May 14, 2018

@n1k0 How would you solve an uiSchema for a recursive sample like References/Recursive references in playground?

@epicfaace
Copy link
Member

Merging this into #701.

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

No branches or pull requests

4 participants