FXForms icon indicating copy to clipboard operation
FXForms copied to clipboard

Spaces not visible on right

Open tomihisaw opened this issue 10 years ago • 3 comments

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.

tomihisaw avatar May 23 '14 14:05 tomihisaw

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

nicklockwood avatar Jul 18 '14 10:07 nicklockwood

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)

anettodev avatar Dec 15 '14 22:12 anettodev

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)};
}

nicklockwood avatar Dec 15 '14 23:12 nicklockwood