Skip to content

Commit

Permalink
Merge pull request #560 from dfinzer/update-cell
Browse files Browse the repository at this point in the history
Change XLFormDateCell to call update when value changes
  • Loading branch information
Martin Barreto committed Sep 16, 2015
2 parents e196fc7 + 134e764 commit 08eaf70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion XLForm/XL/Cell/XLFormDateCell.m
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ -(UIDatePicker *)datePicker
- (void)datePickerValueChanged:(UIDatePicker *)sender
{
self.rowDescriptor.value = sender.date;
self.detailTextLabel.text = [self valueDisplayText];
[self update];
[self setNeedsLayout];

}
Expand Down

0 comments on commit 08eaf70

Please sign in to comment.