mirror of
https://github.com/gradio-app/gradio.git
synced 2025-04-06 12:30:29 +08:00
Hotfix for dropdown component (#1172)
* allow markdown to be set dynamically * moved markdown to output section * added aliases for component names * added aliases * fixed optional * formatting * tests * tests * tests * hotfix
This commit is contained in:
parent
4bd609bcc0
commit
7095ce7e04
@ -1107,8 +1107,7 @@ class Dropdown(Radio):
|
||||
label (str): component name in interface.
|
||||
"""
|
||||
# Everything is same with Dropdown and Radio, so let's make use of it :)
|
||||
IOComponent.__init__(
|
||||
self,
|
||||
super().__init__(
|
||||
default_selected=default_selected,
|
||||
choices=choices,
|
||||
type=type,
|
||||
|
Loading…
x
Reference in New Issue
Block a user