Open
Description
Even after I set isSearchEnable to true, keyboard fails to come up. See code snippet below.
let senderStateTextField: TesDropDownTextField = {
let textField = TesDropDownTextField()
textField.isSearchEnable = true
textField.placeholder = "Origin"
return textField
}()
I then later set the textfield to become firstresponder in the listWillAppear delegate method
senderStateTextField.listWillAppear {
self.senderStateTextField.becomeFirstResponder()
}
This brought up the keyboard but brought along several bugs with it.
- When I start typing, it creates another list up.
- When I select, it dismisses only the first list and leaves the original one
- When I click on any of the list in the original list that fails to dismiss, I get an "index out of range error"
- Tapping outside doesn't also dismiss the original list.
video demo below:
RPReplay_Final1688850414.MP4
If anyone has a correct way of using the search feature, please help me.
Metadata
Metadata
Assignees
Labels
No labels