From fe2f6708f1036934472d5b9c3956df0a24e6a98e Mon Sep 17 00:00:00 2001 From: Heath Chiavettone Date: Fri, 25 Jul 2025 12:28:38 -0700 Subject: [PATCH] Fix 4696 by updating lodash import to be direct import - Fixes #4696 by updating the `lodash` import from `import { isEqual } from 'lodash';` to `import isEqual from 'lodash/isEqual';` - Updated the `CHANGELOG.md` accordingly --- CHANGELOG.md | 5 +++++ packages/shadcn/src/components/ui/fancy-multi-select.tsx | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1f64b8d014..a3bd030e9c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,11 @@ it according to semantic versioning. For example, if your PR adds a breaking cha should change the heading of the (upcoming) version to include a major version bump. --> +# 6.0.0-beta.13 + +## @rjsf/shadcn + +- Updated `lodash` import in `fancy-multi-select.tsx` to to be direct import, fixing [#4696](https://github.com/rjsf-team/react-jsonschema-form/issues/4696) # 6.0.0-beta.12 diff --git a/packages/shadcn/src/components/ui/fancy-multi-select.tsx b/packages/shadcn/src/components/ui/fancy-multi-select.tsx index 7a2791665c..bf9214efcf 100644 --- a/packages/shadcn/src/components/ui/fancy-multi-select.tsx +++ b/packages/shadcn/src/components/ui/fancy-multi-select.tsx @@ -1,7 +1,7 @@ 'use client'; import { Command as CommandPrimitive } from 'cmdk'; -import { isEqual } from 'lodash'; +import isEqual from 'lodash/isEqual'; import { X } from 'lucide-react'; import { FocusEvent,