react-native-ui-lib
react-native-ui-lib copied to clipboard
Avoiding showing validation message element when error is not triggered
An issue occurred when I tried to style the TextField
validation message. Adding a background color and some padding to the message resulted in a colored element always shown whether there's a validation message or not. This is because you can style the validation message element but it's just the string inside which will be hidden when there is no message to show. This PR should fix it.