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

Text is duplicated with TextAreaRow #1

Closed
Dean151 opened this issue Sep 30, 2015 · 3 comments
Closed

Text is duplicated with TextAreaRow #1

Dean151 opened this issue Sep 30, 2015 · 3 comments

Comments

@Dean151
Copy link

Dean151 commented Sep 30, 2015

I've found a graphic bug that occurs with TextAreaRow ;

I want to use that row to display non editable disclaimer text.
But when I do using the value property, a label is present with a duplicated version of the text.

I tried to force to an empty string the title and the placeholder with the same result.
Here is a screenshot of what happens. I've scrolled a little to be sure that the text is visible. It doesn't scroll and stay at the center.

simulator screen shot 30 sept 2015 11 58 59

Here is the code I use for this particular row :

<<< TextAreaRow("disclaimer") {
            $0.value = NSLocalizedString("DISCLAIMER", comment: "")
            $0.disabled = true
        }
@Dean151
Copy link
Author

Dean151 commented Sep 30, 2015

This problem does not occurs if I set my text in placeholder instead of value, but this row does not allow to change the placeholderColor, so it results with the disabled state with a very bright gray.

@xinwo
Copy link

xinwo commented Oct 1, 2015

any solution?

mtnbarreto pushed a commit that referenced this issue Oct 1, 2015
@mtnbarreto
Copy link
Member

@Dean151 It was a small issue in my end.
Now it should work.
Thanks

mlorenze pushed a commit that referenced this issue Oct 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants