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

the placeholder is not visible #132

Open
YKV opened this issue Jan 15, 2018 · 4 comments
Open

the placeholder is not visible #132

YKV opened this issue Jan 15, 2018 · 4 comments

Comments

@YKV
Copy link

YKV commented Jan 15, 2018

By Adding rounded corners to text field makes placeholder text invisible.
Thanks

@piyushvaish
Copy link

Is there any update on this issue ?

@quentin41500
Copy link
Member

Hey @DannyVancura, did you manage to reproduce that issue?

@kapildevgj
Copy link

Instead of roundRect

numberTextField.placeholder = "Card Number"
numberTextField.layer.borderWidth = 0.75
numberTextField.layer.borderColor = UIColor.lightGray.cgColor
numberTextField.layer.cornerRadius = 3.0
numberTextField.clipsToBounds = true
numberTextField.backgroundColor = .white

@Bathant
Copy link

Bathant commented Feb 1, 2021

when adding backgroundColor the placeholder disappear

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

5 participants