Skip to content

Commit

Permalink
Merge pull request Darkseal#47 from Lijo050/bugfix
Browse files Browse the repository at this point in the history
adds UIControlEventValueChanged when textField changes
  • Loading branch information
Darkseal authored Feb 20, 2017
2 parents 0e45af0 + 73599d3 commit c9310bb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Pod/Classes/DownPicker.m
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ - (NSInteger)numberOfComponentsInPickerView:(UIPickerView *)pickerView;
- (void)pickerView:(UIPickerView *)pickerView didSelectRow:(NSInteger)row inComponent:(NSInteger)component
{
self->textField.text = [dataArray objectAtIndex:row];
[self sendActionsForControlEvents:UIControlEventValueChanged];
}

- (NSInteger)pickerView:(UIPickerView *)pickerView numberOfRowsInComponent:(NSInteger)component;
Expand Down

0 comments on commit c9310bb

Please sign in to comment.