Is there a way I can access an item in an array and display it at the root level of my form?
I have attached example schemas to explain what I mean. To be clear in this example I am only interested in the first item in the array! Many Thanks
Is there a way I can access an item in an array and display it at the root level of my form?
I have attached example schemas to explain what I mean. To be clear in this example I am only interested in the first item in the array! Many Thanks
Hi @mattrout92! Sadly this is not possible. The scope
within the UI Schema resolves against the JSON Schema, not against the instance data. Therefore you can’t target instance array items.
However you can definitely accomplish what you’d like to see with a custom renderer. Alternatively you could also use a second instance of JSON Forms which is fed the first item of your array.