react-native-paper-dropdown
react-native-paper-dropdown copied to clipboard
How can I tell the dropdown that it should render error styling?
Most of the react-native-paper input components take in an error prop which gives the input an error styling. Look at react-native-paper's TextInput component or react-native-paper-dates' DatePickerInput component.
Is there a way to achieve the same with react-native-paper-dropdown?
@JPStrydom You can do it like this:
<DropDown
...
inputProps={{
error: true|false,
}}/>
Should be fixed in latest release v2.0.3, did a full refactor of library so docs are in WIP, meanwhile you can check the example folder for demo code.