MLPAutoCompleteTextField icon indicating copy to clipboard operation
MLPAutoCompleteTextField copied to clipboard

AutoComplete View does not disappear when using with textfields in static tableview

Open uditbatra opened this issue 10 years ago • 4 comments

AutoComplete View does not disappear when clicked on suggestion using with textfields in static tableview.

uditbatra avatar Aug 13 '14 05:08 uditbatra

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.

WedgeSparda avatar Oct 20 '15 13:10 WedgeSparda

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.

WedgeSparda avatar Oct 20 '15 13:10 WedgeSparda

I faced the same problem and used a workaround by setting [self.tfDistinationCity setAutoCompleteTableAppearsAsKeyboardAccessory:YES];

YahiaRagae avatar Jun 22 '16 21:06 YahiaRagae

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

aahmed92021 avatar Jul 19 '16 07:07 aahmed92021