DropDown duplicate key error - Feature request

UI Components for React
Post Reply
chrishj
Posts: 191
Joined: 11 Jul 2011, 21:58

03 Jul 2020, 23:00

Usecase: Dropdown that is populated from entries in a database rather than fixed values in the code. This is preferable as the list can be maintained Admin staff without code changes.

In the Dropdown module if there is a duplicate Label, then the feature breaks and there is a React DuplicateKey error/warning. This does not occur with Semantic Ui or Material UI.

Ideally, there should be it should be possible to have a key column that is a unique value that the Dropdown uses as the list key. As an alternative, the PrimeReact component could build its list with a unique key. This could be the index number of the menu option.
I use UUID as my database column ID.

Currently, if there is an error in Database input it breaks the web page.
PrimeFaces:
J2EE 6 Glassfish 4.1 Mojarra 2.2.7 primefaces 6.2.7
Netbeans 8.1
database postgresql-9.11
Theme - Barcelona

PrimeReact:
4.2.2

Post Reply

Return to “PrimeReact”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest