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

Spaces not visible on right #106

Open
tomihisaw opened this issue May 23, 2014 · 3 comments
Open

Spaces not visible on right #106

tomihisaw opened this issue May 23, 2014 · 3 comments

Comments

@tomihisaw
Copy link

I just started using the library so I apologize if I missed this in the documentation. For a regular text field (FXFormFieldTypeText or default string), I do not see the rightmost space as I am typing text in the field. It shows up once I start a new word though.

@nicklockwood
Copy link
Owner

I think this is an issue with UITextField in general, rather than a problem with FXForms.

@anettodev
Copy link

I'm having the same problem...any update about this?

EDIT: I've a solution for that in stackoverflow. (http://stackoverflow.com/questions/19569688/right-aligned-uitextfield-spacebar-does-not-advance-cursor-in-ios-7)

@nicklockwood
Copy link
Owner

In that case, I guess you can fix it by left-aligning the textfield, which you can do by adding the following to your field dictionary:

- (NSDictionary *)myField {
    return @{@"textField.textAlignment", @(NSTextAlignmentLeft)};
}

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

3 participants