gradio/js/dropdown
Gradio PR Bot 8e5b5a201e
chore: update versions (#9790)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-10-25 12:33:07 -07:00
..
shared allow setting initial value of gr.Dropdown to None to designate that no value should be initially selected (#9699) 2024-10-15 00:05:45 -07:00
CHANGELOG.md chore: update versions (#9790) 2024-10-25 12:33:07 -07:00
Dropdown.stories.svelte Add placeholder param to Image and ImageEditor to replace upload image text (#8930) 2024-08-21 01:22:17 +02:00
dropdown.test.ts fix tests (#9720) 2024-10-16 08:42:13 -07:00
Example.svelte Handle the case where examples is null for all components (#7192) 2024-01-29 16:51:22 -08:00
Index.svelte 5.0 dev -> main (#8843) 2024-10-08 22:17:17 -07:00
Multiselect.stories.svelte
package.json chore: update versions (#9790) 2024-10-25 12:33:07 -07:00
README.md

@gradio/dropdown

<script>
    import {BaseDropdown, BaseMultiselect, BaseExample } from "@gradio/dropdown";
</script>

BaseDropdown

	export let label: string;
	export let info: string | undefined = undefined;
	export let value: string | number | (string | number)[] | undefined = [];
	export let value_is_output = false;
	export let choices: [string, string | number][];
	export let disabled = false;
	export let show_label: boolean;
	export let container = true;
	export let allow_custom_value = false;
	export let filterable = true;

BaseMultiselect

	export let label: string;
	export let info: string | undefined = undefined;
	export let value: string | number | (string | number)[] | undefined = [];
	export let value_is_output = false;
	export let max_choices: number | null = null;
	export let choices: [string, string | number][];
	export let disabled = false;
	export let show_label: boolean;
	export let container = true;
	export let allow_custom_value = false;
	export let filterable = true;
	export let i18n: I18nFormatter;

BaseExample

	export let value: string;
	export let type: "gallery" | "table";
	export let selected = false;