fateh999 / react-native-paper-dropdown

Dropdown using react native paper TextInput and Menu
MIT License
130 stars 74 forks source link

right icon no show #46

Closed slsasa closed 1 month ago

vikramkaldoke commented 2 years ago

check if you have "react-native-vector-icons" package installed or not.

VariabileAleatoria commented 1 year ago

Same issue, "react-native-vector-icons" is installed because if I try to render a TextInput with an icon i.e.

<TextInput
            label="Password"
            secureTextEntry
            right={<TextInput.Icon icon="menu-up" />}
          />

It renders correctly, while the dropdown does not. image

Here a comparison of the two dropdowns taken from the example project in this repo versus the TextInput above

ManishAdglobal360 commented 1 year ago

how we can change right icon?

robin-farmx commented 1 year ago

I am seeing the same issue with:

"react-native-paper": "^5.8.0",
"react-native-paper-dropdown": "^1.0.7",
"react-native-vector-icons": "^9.2.0",

Icons work with react native paper, but are not shown in the dropdown.

Has anyone else had success in resolving this issue?

robin-farmx commented 1 year ago

See: https://github.com/fateh999/react-native-paper-dropdown/issues/91