pl-fe: start adopting multiselect-react-dropdown

Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
This commit is contained in:
nicole mikołajczyk
2025-11-22 19:40:14 +01:00
parent e83daa31d7
commit 0631c86cba
2 changed files with 690 additions and 2 deletions

View File

@ -1,9 +1,9 @@
import clsx from 'clsx';
import MultiselectReactDropdown from 'multiselect-react-dropdown';
import React, { useMemo, useState } from 'react';
import { defineMessages, useIntl } from 'react-intl';
import Icon from 'pl-fe/components/ui/icon';
import { Multiselect } from 'pl-fe/components/ui/multiselect';
import Select from 'pl-fe/components/ui/select';
const messages = defineMessages({
@ -146,7 +146,7 @@ const Mutliselect: React.FC<IMultiselect> = (props) => {
};
const selectElem = (
<MultiselectReactDropdown
<Multiselect
className='plfe-multiselect'
options={options}
selectedValues={selectedValues}