Conflict with Chakra-ui library

UI Components for React
Post Reply
matheusIforth
Posts: 1
Joined: 23 Nov 2022, 23:03

23 Nov 2022, 23:12

Hi,

Im trying to use the 'MultiSelect' component with the following import:

import { MultiSelect } from 'primereact/multiselect';

However, I call this component 'MultiSelect' inside another component called 'Drawer'. This component is from the 'Chakra-ui' library, and has the function of creating a sidebar.

When I import the 'MultiSelect' inside the 'Drawer', it doesnt open. I try to click on the 'MultiSelect' component but it never opens, can anyone help me?

Hoping to be understood, thanks!

Melloware
Posts: 3373
Joined: 22 Apr 2013, 15:48

25 Nov 2022, 16:28

I am not sure why you are using Chakra UI Drawer when PrimeReact has Sidebar that does the same thing? https://primefaces.org/primereact/sidebar/
PrimeFaces Developer | PrimeFaces Extensions Developer
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 12.0.0 / PF Extensions 12.0.1
PrimeReact 8.6.1

Post Reply

Return to “PrimeReact”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 2 guests