-
-
Notifications
You must be signed in to change notification settings - Fork 5.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AutocompleteInput and ReferenceInput search in 'q' #2615
Comments
You need to pass In your case |
yep, as @kctrlv said, it's not a bug, it's a feature! |
Thanks for this, it helped. But wouldn't it be better to disable this behaviour per default as it needs a special implementation of the data provider? Anyway, I'm happy now. |
I think this "feature" is kind of a hidden feature, I had to dig through the issues to find it 😅 |
What you were expecting:
The AutocompleteInput component should send a request for searching the field defined as OptionName to the data provider.
What happened instead:
The AutocompleteInput component sends a request to search in field "q" to the data provider:
http://localhost:3000/code_country?order=id.desc&q=ilike.%2A%2A
which generates the error "column code_country.q does not exist".
Steps to reproduce:
Example:
Environment
The text was updated successfully, but these errors were encountered: