react-jsonschema-form icon indicating copy to clipboard operation
react-jsonschema-form copied to clipboard

using some fields in uiSchema which don't exist in schema

Open Z-Saffar opened this issue 8 years ago • 1 comments

Prerequisites

  • [x] I have read the documentation;
  • [x] In the case of a bug report, I understand that providing a SSCCE example is tremendously useful to the maintainers.

Description

[in simple example of your demo. there is a field named 'date' which doesn't exist in schema. nothing shows in result too. How can I see it in the result ?
I have some fields that I want to show them in my own example. they aren't in the schema section. how can I do that?

I ask in stackoverflow too. Nobody can answer my question.

https://stackoverflow.com/questions/53029863/i-need-to-have-some-fields-in-ui-schema-which-do-not-exist-in-schema-section

thanks alot. ]

Z-Saffar avatar Oct 28 '18 10:10 Z-Saffar

In rjsf, the source of truth of what fields are present is the schema. The uiSchema only allows some small amount of customization for the fields in the schema.

glasserc avatar Nov 02 '18 19:11 glasserc