pl-fe: multiselect changes
Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
This commit is contained in:
@ -2,7 +2,6 @@ import clsx from 'clsx';
|
||||
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';
|
||||
|
||||
@ -153,8 +152,7 @@ const Mutliselect: React.FC<IMultiselect> = (props) => {
|
||||
onSelect={handleChange}
|
||||
onRemove={handleChange}
|
||||
displayValue='value'
|
||||
disable={disabled}
|
||||
customCloseIcon={<Icon className='ml-1 size-4 hover:cursor-pointer' src={require('@phosphor-icons/core/regular/x-circle.svg')} />}
|
||||
disabled={disabled}
|
||||
placeholder={intl.formatMessage(messages.selectPlaceholder)}
|
||||
emptyRecordMsg={intl.formatMessage(messages.selectNoOptions)}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user