Need help on Prime React editable dropdown

UI Components for React
Post Reply
twistoffate
Posts: 1
Joined: 01 Oct 2022, 14:29

01 Oct 2022, 14:35

Hi!

I am using dropdown component with editable attribute from Primereact.

What I am trying to achieve is once I type something inside the editable input field :

First it should open up the dropdown list and I can filter the dropdown entries based on the input (without using filter and filterBy method of Primereact)

But I am finding it difficulty to do so as in the function onCountryChange :
- I am not able to keep the dropdown open.
- I am not able to select the html class or tags using ref by which I can manually filter the options.

Please help.
Link : https://codesandbox.io/s/need-help-on-e ... ownDemo.js

Post Reply

Return to “PrimeReact”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 2 guests