evidence-dev / evidence

Business intelligence as code: build fast, interactive data visualizations in pure SQL and markdown
https://evidence.dev
MIT License
3.38k stars 164 forks source link

DropDown Not Showing Values (Possible Regression) #1916

Closed mjbloch closed 2 weeks ago

mjbloch commented 2 weeks ago

Steps To Reproduce

On Evidence: 33.0.0

index.md

```sql test_query
select 1 as val
union
select 2 as val
union
select 3 as val
```

<Dropdown
    data={test_query} 
    name=test
    value=val
    title='Test Dropdown'
/>

Environment

Expected Behavior

Previously DropDown's would show the values passed in with from the data and value parameters

Actual Behaviour

Component just shows "No results found." image

Workarounds

Not that I have found

hughess commented 2 weeks ago

@mjbloch this should now be fixed!