React-jsonschema-form: uiSchema for definitions

Created on 17 Feb 2017  路  3Comments  路  Source: rjsf-team/react-jsonschema-form

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/

enhancement help wanted

Most helpful comment

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.

All 3 comments

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.

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

Merging this into #701.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

FBurner picture FBurner  路  3Comments

sstarrAtmeta picture sstarrAtmeta  路  3Comments

MedinaGitHub picture MedinaGitHub  路  3Comments

arnemahl picture arnemahl  路  3Comments

norim13 picture norim13  路  3Comments