Permalink
Browse files

Merge pull request #162 from kermitology/master

NITextInputFormElement modifications
  • Loading branch information...
2 parents a3e6029 + 8743f9a commit 3291226f310018f1786fd0be760fcb4791e3dcb1 @jverkoey committed Mar 11, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/models/src/NIFormCellCatalog.m
@@ -255,6 +255,8 @@ - (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reus
self.selectionStyle = UITableViewCellSelectionStyleNone;
_textField = [[UITextField alloc] init];
+ [_textField setTag:self.element.elementID];
+ [_textField setAdjustsFontSizeToFitWidth:YES];
[_textField addTarget:self action:@selector(textFieldDidChangeValue) forControlEvents:UIControlEventAllEditingEvents];
[self.contentView addSubview:_textField];

0 comments on commit 3291226

Please sign in to comment.