From 6e9a8cddf48ca87d8768852454e99b230a57df55 Mon Sep 17 00:00:00 2001 From: daproclaima Date: Wed, 31 Jul 2024 13:16:39 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9D(react)=20update=20stories=20for=20?= =?UTF-8?q?mono=20select?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - update description for searchable select with options fetching --- packages/react/src/components/Forms/Select/mono.mdx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/packages/react/src/components/Forms/Select/mono.mdx b/packages/react/src/components/Forms/Select/mono.mdx index 697dea80a..a0f72f93d 100644 --- a/packages/react/src/components/Forms/Select/mono.mdx +++ b/packages/react/src/components/Forms/Select/mono.mdx @@ -43,10 +43,15 @@ You can enable the text live filtering simply by using the `searchable` props. You can enable the text live filtering simply by using the `searchable` prop, and the options fetching by providing a callback (async or not) receiving the search term in its parameters in the `options` prop. This latter is triggered every time the search term is different from the previous one. An optional `isLoading` prop can be used to show -a loader while the options are being fetched. You can also provide an optional `defaultValue` prop. +a loader while the options are being fetched. You can also provide an optional `defaultValue` prop. It works both in +controlled and uncontrolled state. +### uncontrolled +### controlled + + ## States