esbenp / react-native-clean-form

Easy react-native forms using bootstrap-like syntax with redux-form+immutablejs integration. Styled using styled-components
http://esbenp.github.io/2017/01/06/react-native-redux-form-immutable-styled-components/
MIT License
478 stars 83 forks source link

Styling Question #49

Open crjackso opened 7 years ago

crjackso commented 7 years ago

Hello,

Can someone share an example of how I can go about customizing the Input such that there is no label, only a placeholder? Right now, I'm using an Input, with inlineLabel set to true and the input is placed halfway into the input. I'm basically trying to override the flex properties. Is this possible? This is similar to what was requested in #9, but I wasn't able to find a solution from this.

thienpow commented 7 years ago

try remove border-radius: ${props => props.theme.FormGroup.borderRadius}; from FormGroup.js this line crash the Android border, making it unable to show the underline on Android... removing it will allow Android and IOS have same long underline under the input and label.