I have a table of Truck Driver information where i am trying to use a select dropdown menu to filter the table using the driver name. I am using Airtable as a backend and receiving all the data and its being rendered on the front end properly:
As seen in the dropdown, one driver is rendered 3 times. But i would like to just display a driver name once so i a user can filter the table by driver name.
I’ve followed this video: https://youtu.be/8e3-qvGb1ms and tried to use the rollup()
function but nothing is being displayed
rollup(data.data, 'Driver', 'distinct')
doesn’t work
Is there a bug in weweb where rollup does not work anymore? I double checked if something was wrong with my backend data but it looks like the front end is receiving all the data properly.
Any advice?