Hi there,
I am not quite sure if I run in a common wrong usage, but as far as I see in the demo
https://jsonforms.io/examples/combinators/
it should be the case that the Tab-Index should be chosen automatically according to the data provided.
At least at rjsf-team.github.io/react-jsonschema-form/ I can reproduce the expected behavior.
Currently we are facing the problem that if we load our data that the one-of Tab-index is always set to option 1 (first index). So there is not data to show. If the user changes to the desired option, where data is already given, there is the message that the form will be deleted (which is commonly used and ok).
But, so when a user wants to check some already given data he is not able to do so and the already given data is lost, because of a mismatch between shown option Tab and available data.
We are using the one-of combinator within an array. The “title” key works well and gets displayed correctly - So a row shows the right option (title - which is referenced within the schema and combinator), but does not jump to the right Tab.
I hope I explained it comprehensible - the linked example should help to clearify. Here the ONEOF-0 and ONEOF-1 are the Options.
Could it be that our unwanted behavior is related to the newer versions for jsonforms 3.x?
Thank you for your ideas and help!