Hi,
We're experiencing and issue where filters that are set as dropdowns in the Metabse UI are displaying as text fields when embedded in our app.
This is happening to multiple filters, but not to all of them. Additionally, one of the dropdown filters shows one option when there should be four.
Here are screenshots of the two scenarios:
We have tried:
- Clearing the field caches in Admin > Table Metadata
- Adding custom values to the dropdown list
- Changing the table type to ENUM instead of Category
- Unlocking the Locked filter
Further details:
- Database: Postgres
- Embedding method: Python
Strangely it seems that the API actually returns an empty array for the filter values:
Entering a value that exists into the filter does work and results are filtered accordingly.
Diagnostic info:
{
"browser-info": {
"language": "en-ZA",
"platform": "MacIntel",
"userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36",
"vendor": "Google Inc."
},
"system-info": {
"file.encoding": "UTF-8",
"java.runtime.name": "OpenJDK Runtime Environment",
"java.runtime.version": "11.0.24+8",
"java.vendor": "Eclipse Adoptium",
"java.vendor.url": "https://adoptium.net/",
"java.version": "11.0.24",
"java.vm.name": "OpenJDK 64-Bit Server VM",
"java.vm.version": "11.0.24+8",
"os.name": "Linux",
"os.version": "5.15.0-1053-aws",
"user.language": "en",
"user.timezone": "GMT"
},
"metabase-info": {
"databases": [
"postgres",
"h2"
],
"hosting-env": "unknown",
"application-database": "postgres",
"application-database-details": {
"database": {
"name": "PostgreSQL",
"version": "16.1 (Debian 16.1-1.pgdg120+1)"
},
"jdbc-driver": {
"name": "PostgreSQL JDBC Driver",
"version": "42.7.3"
}
},
"run-mode": "prod",
"plan-alias": "",
"version": {
"date": "2024-08-13",
"tag": "v0.50.20",
"hash": "df82d58"
},
"settings": {
"report-timezone": null
}
}
}
Thanks in advance for your time!