- Notifications
You must be signed in to change notification settings - Fork 2.3k
Closed
Description
Prerequisites
- I have read the documentation.
Description
Can't seem to select fields in nested values to be used with ui:widget
Schema:
faq: { type: 'array', title: 'Faq', items: { type: 'object', required: ['question', 'answer'], properties: { question: { type: 'string', title: 'Question', placeholder: 'Why is the sky blue...' }, answer: { type: 'string', title: 'Answer', placeholder: 'Because I said so...' } } } }, uiSchema (have tried each)
question: {'ui:widget': 'customTextInput'}, answer: {'ui:widget': 'customTextInput'} and
faq: { question: {'ui:widget': 'customTextInput'}, answer: {'ui:widget': 'customTextInput'} }, and
faq: [ question: {'ui:widget': 'customTextInput'}, answer: {'ui:widget': 'customTextInput'} ], Steps to Reproduce
- Create a form using the schema above,
- use the uiSchema values as stated above
Expected behavior
I would expect to be able to apply my ui:widget to nested schema fields.
Actual behavior
The field retained the basic styling that I am not using.
Version
0.30.1
Metadata
Metadata
Assignees
Labels
No labels