react-native-select-picker icon indicating copy to clipboard operation
react-native-select-picker copied to clipboard

Using key as a property like the example triggers a warning

Open jota12x opened this issue 4 years ago • 0 comments

Current behavior

I am trying to set the key property for SelecPicker.Item as in the example but got the following warning: imagen Checking out the code, as expected, there is no key props attribute so that's why the error is triggered.

Expected behavior

When setting a key for the SelectPicker.Item, no warning should appear.

Notes

I tried creating a React.Fragment enclosing the SelectPicker.Item but it doesn't show as an option anymore. Therefore it appears that there is no current solution.

jota12x avatar Dec 03 '20 03:12 jota12x