From 1df0ce35a646f1dc464ce41ad76793445a3b438c Mon Sep 17 00:00:00 2001 From: Yangshun Tay Date: Thu, 6 Oct 2022 09:35:52 +0800 Subject: [PATCH] [ui][select] make uncontrolled --- apps/storybook/stories/select.stories.tsx | 25 +++++++++++++++++++++++ packages/ui/src/Select/Select.tsx | 11 ++++++---- 2 files changed, 32 insertions(+), 4 deletions(-) diff --git a/apps/storybook/stories/select.stories.tsx b/apps/storybook/stories/select.stories.tsx index e7b02537..145936ed 100644 --- a/apps/storybook/stories/select.stories.tsx +++ b/apps/storybook/stories/select.stories.tsx @@ -176,3 +176,28 @@ export function Disabled() { ); } + +export function Uncontrolled() { + return ( +
+