gradio: gradio 3.45 breaks dropdown component when multiselect is enabled
Describe the bug
as title says, when multiselect is enabled in gr.Dropdown
, result is client-side js error (no errors on python side).
it seems that issue is introduced via #5384 and svelte Multiselect component has its arguments shifted to the left by one (so it receives type as label and choices become null)
Have you searched existing issues? 🔎
- I have searched and found no existing issues
Reproduction
N/A
Screenshot
Logs
attached screenshot shows chrome session with log point set (you can see where in the code)
and resulting log shows two ok dropdowns (which are not multiselect) and third which shows behavior i've described above.
and actual error is:
System Info
gradio==3.47.1
Severity
Blocking usage of gradio
About this issue
- Original URL
- State: closed
- Created 9 months ago
- Comments: 15 (1 by maintainers)
ok lemme see what can be done here. Hopefully the custom component support coming in 4.0 will discourage this type of component creation.