primefaces / primereact

The Most Complete React UI Component Library
https://primereact.org
MIT License
6.68k stars 1.01k forks source link

MultiSelect: inline mode missing filter #4522

Open bwamsellem opened 1 year ago

bwamsellem commented 1 year ago

Describe the bug

MultiSelect inline mode does not show the filter box when filtering is enabled.

Reproducer

https://stackblitz.com/edit/react-we3ef4

PrimeReact version

9.5.0

React version

17.x

Language

TypeScript

Build / Runtime

Create React App (CRA)

Browser(s)

All

Steps to reproduce the behavior

Expected behavior

The filter box should be displayed

melloware commented 1 year ago

It looks like this was intentional by PrimeTek not to show the filter in inline mode.

https://github.com/primefaces/primereact/blob/58e8af6deb42314b12a48c86f82d15c4d9fc45f3/components/lib/multiselect/MultiSelect.js#L738-L744

Will assign to PrimeTek to review