Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

placeholder colour not reflecting #23

Closed
imbudhiraja opened this issue Dec 29, 2016 · 2 comments
Closed

placeholder colour not reflecting #23

imbudhiraja opened this issue Dec 29, 2016 · 2 comments

Comments

@imbudhiraja
Copy link

imbudhiraja commented Dec 29, 2016

Hi All,

I need to change the placeholder colour but it was not reflecting. It remains the default colour.
When i try to change other text colours they got changed.
Here is sample code.

<CreditCardInput
requiresName={true}
cardFontFamily={"Kabel Bk BT"}
placeholderColor={"white"}
inputContainerStyle={{
borderBottomWidth: 1, borderBottomColor:Constants.Colors.White
}}
onChange={this._onChange}
labelStyle={[styles.label,Constants.Fonts.content]}
inputStyle={[styles.input,Constants.Fonts.content]}
autoFocus={false}/>

@sbycrosz
Copy link
Owner

sbycrosz commented Dec 30, 2016

Thanks @imbudhiraja ! I just pushed a fix @0.3.3 🎉

Also note that the font family might be displayed incorrectly on Android facebook/react-native#4600

@imbudhiraja
Copy link
Author

Thanks Cheers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants