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 I have one or more items selected in the ReferenceArrayInput & I perform a new search in the AutocompleteArrayInput, the selected items are cleared out of the ReferenceArrayInput.
The backend loses the first selected item, making the ReferenceArrayInput & the dropdown empty
the search result has no effect and the ReferenceArrayInput gets populated again with the selected items
My first guess is that when you're searching for the second item, the previously selected one isn't in the backend's response. The dropdown sees the new response of the backend, excluding the selected items (because it includes a new filter)
I'd assume that the selected items are cached in the ReferenceArrayInput and not impacted by a new search value.
For now I've made a workaround to include my selected values in my filterToQuery
The text was updated successfully, but these errors were encountered:
When I have one or more items selected in the ReferenceArrayInput & I perform a new search in the AutocompleteArrayInput, the selected items are cleared out of the ReferenceArrayInput.
Frontend:
Backend response:
Steps to reproduce:
Result
My first guess is that when you're searching for the second item, the previously selected one isn't in the backend's response. The dropdown sees the new response of the backend, excluding the selected items (because it includes a new filter)
I'd assume that the selected items are cached in the ReferenceArrayInput and not impacted by a new search value.
For now I've made a workaround to include my selected values in my filterToQuery
The text was updated successfully, but these errors were encountered: