Abubakar Abid
a0cc9ac931
Fixes dropdown breaking if a user types in invalid value and presses enter ( #5544 )
...
* fix dropdown behavior
* tests
* tweak
* add changeset
* format
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-09-14 00:03:59 -07:00
Hannah
21f1db40de
Ensure input value saves on dropdown blur ( #5525 )
...
* save input on dropdown blur
* set input_value
* add changeset
* add changeset
* add changeset
* add test
* tweak blur logic
* remove unused funcs
* nit
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-09-13 12:42:30 -07:00
Abubakar Abid
ddc02268f7
Allows the gr.Dropdown
to have separate names and values, as well as enables allow_custom_value
for multiselect dropdown ( #5384 )
...
* dropdown
* changes
* add changeset
* refactor
* cleanup
* dropdown
* more refactoring
* fixes
* simplify, docstring
* restore active_index
* split into two files
* new files
* simplify
* single select dropdown working
* single select dropdown almost working
* dropdown
* multiselect
* multiselect wip
* multiselect
* multiselect
* multiselect
* interactive working
* dropdown
* lint
* add changeset
* type
* typing
* fix multiselect static
* dropdown
* stories and tests
* split stories
* lint
* add changeset
* revert
* add changeset
* fix x
* dropdown
* lint, test
* backend fixes
* lint
* fix tests
* lint
* fix final test
* clean
* review fixes
* dropdown
* lint
* lint
* changes
* typing
* fixes
* active index null bug
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-09-12 09:58:18 -07:00
Jared Deckard
6466652583
Cancel Dropdown Filter ( #5360 )
...
* Reset the dropdown filter on blur
* Remove focus triggered by blurring to the label
* add changeset
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Hannah <hannahblair@users.noreply.github.com>
2023-08-30 11:11:01 +01:00
pngwn
e32b0928d2
ensure dropdown stays open when identical data is passed in ( #5323 )
...
* ensure dropwdown stays open when new data is passed in
* add changeset
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-08-24 18:22:41 +01:00