MLPAutoCompleteTextField
MLPAutoCompleteTextField copied to clipboard
AutoComplete View does not disappear when using with textfields in static tableview
AutoComplete View does not disappear when clicked on suggestion using with textfields in static tableview.
Same happens here. AutoComplete View appears, but when I select a suggestion, nothing happens.
I set the autoCompleteDelegate correctly but (void)autoCompleteTextField(MLPAutoCompleteTextField *)textField didSelectAutoCompleteString:(NSString *)selectedString withAutoCompleteObject:(id<MLPAutoCompletionObject>)selectedObject forRowAtIndexPath:(NSIndexPath *)indexPath
is never triggered.
I just realized that what happens is the same problem related in issue https://github.com/EddyBorja/MLPAutoCompleteTextField/issues/7
But the problem is still here.
I faced the same problem and used a workaround by setting [self.tfDistinationCity setAutoCompleteTableAppearsAsKeyboardAccessory:YES];
I am having this issue with UITableView having Dynamic cells. The issue is I have multiple UITextFields on UITableView and when I click on the result, the other textField start editing, instead of selecting the autocomplete result being chosen. Do mind that I know the Keyboard accessory solution, but, I have to implement it the other way i.e. beneath the textfield. Thanks