I had a problem using the Dropdown component, I happen to have a collection of objects to display in this dropdown, but some elements of this list have the same name which causes the error: Duplicate keys detected, for example filtering functionality doesn't work . Investigating the component code I noticed that it uses as a key
: key = "getOptionLabel (option)"
but ask, it should not be:
: key = "getOptionValue (option)"
I modified this in the source and the dropdown search went back to work and stopped showing warnings on the console, can this change cause me problems?
UI Components for Vue
2 posts • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 1 guest