You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Actually, we have the same issue with some other components such as the DateInput. That can be seen on the simple example (create a post, add a backlink)
What you were expecting:
When a user presses the AddItemButton on a SimpleFormIterator inside an ArrayInput, the first input of the new line is focused
What happened instead:
The first input is focused only if it's a TextInput. For an AutocompleteInput, the focus goes on the second input.
Enregistrement.de.l.ecran.2022-05-05.a.12.32.31.mov
Steps to reproduce:
I added a story to demonstrate the problem:
react-admin/packages/ra-ui-materialui/src/input/ArrayInput/ArrayInput.stories.tsx
Lines 66 to 92 in 77b526a
test it online at https://react-admin-storybook-plcbp0yhi-marmelab.vercel.app/?path=/story/ra-ui-materialui-input-arrayinput--autocomplete-first
Environment
The text was updated successfully, but these errors were encountered: