From 07c6678296f8d19ef6ccb50395e9868c9c5c1e2b Mon Sep 17 00:00:00 2001 From: Marek Mihok Date: Wed, 10 May 2023 16:29:52 +0200 Subject: [PATCH] chore: refactor - unify function names for base and dialog dropdown #1959 --- ui/src/dropdown.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/src/dropdown.tsx b/ui/src/dropdown.tsx index 953895e5a7f..aca890afd7c 100644 --- a/ui/src/dropdown.tsx +++ b/ui/src/dropdown.tsx @@ -110,7 +110,7 @@ const // HACK: Push clears args so run it after useEffect sets them due to model.value change. if (trigger) setTimeout(() => wave.push(), 0) }, - onSelectAll = (checked = true) => () => { + selectAll = (checked = true) => () => { if (!selection) return if (checked) selection.clear() @@ -158,7 +158,7 @@ const isMultivalued &&
- Select All | Deselect All + Select All | Deselect All
}