I am using JSONForms with React and MUI. Is there a way I can get the focused input that a user has clicked into the input field on? When a user clicks on an input field, I want to pass the id of that input field back through onChange perhaps… and open a drawer that has some more detailed description of the choices available for that field. In this case, I have a custom autocomplete, and although I’m just showing labels, I have some additional description keys in my data model I want to contextually display.
There is no built-in mechanism to get notified about the currently focused field. You could check whether it’s possible to have some generic support for this via Material UI’s theming customizations.
Of course you can always support this functionality by implementing a custom renderer as you have the UI under full control then.