What you were expecting:
When using custom choices, any changes to those choices should be reflected in the options.
What happened instead:
It seems that the initial options are being displayed and filtered based on the input text.
Steps to reproduce:
I followed the code from the AutocompleteInput documentation (for selecting a foreign key), which updates the choices after fetching new data.
What you were expecting: When using custom choices, any changes to those choices should be reflected in the options.
What happened instead: It seems that the initial options are being displayed and filtered based on the input text.
Steps to reproduce: I followed the code from the AutocompleteInput documentation (for selecting a foreign key), which updates the choices after fetching new data.
Related code: https://marmelab.com/react-admin/AutocompleteInput.html#selecting-a-foreign-key
Environment