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
When using SimpleFormIterator with ArrayInput, ReferenceInput, and AutocompleteInput in React Admin, selecting an item from the AutocompleteInput dropdown temporarily displays the selected item but then clears it unexpectedly. This issue makes it difficult to keep the selected value in the input field.
This issue appears to occur specifically within SimpleFormIterator, as ReferenceInput and AutocompleteInput work as expected outside of SimpleFormIterator.
Steps to Reproduce
Create a form component using ArrayInput, SimpleFormIterator, ReferenceInput, and AutocompleteInput, similar to the following setup:
Frontend:
Expected Behavior
The selected company should remain in the input field, allowing the user to see the chosen item until they either submit the form or make a new selection.
Actual Behavior
Upon selecting a company, the AutocompleteInput momentarily displays the selected company but then re-renders, clearing the selected value from the input field.
When using SimpleFormIterator with ArrayInput, ReferenceInput, and AutocompleteInput in React Admin, selecting an item from the AutocompleteInput dropdown temporarily displays the selected item but then clears it unexpectedly. This issue makes it difficult to keep the selected value in the input field.
This issue appears to occur specifically within SimpleFormIterator, as ReferenceInput and AutocompleteInput work as expected outside of SimpleFormIterator.
Steps to Reproduce
Create a form component using ArrayInput, SimpleFormIterator, ReferenceInput, and AutocompleteInput, similar to the following setup:
Frontend:
Expected Behavior
The selected company should remain in the input field, allowing the user to see the chosen item until they either submit the form or make a new selection.
Actual Behavior
Upon selecting a company, the AutocompleteInput momentarily displays the selected company but then re-renders, clearing the selected value from the input field.
Environment
React Admin version: "^4.16.12"
React version: "^18.2.0"
Browser: Chrome 130.0.6723.92 (Official Build)
The text was updated successfully, but these errors were encountered: