[TypeAhead] Create ability to select value by label

Issue #24 resolved
Panemu Ind repo owner created an issue

TypeAhead can hold complex object as items. To set selected value, user needs to ensure that the object already registered in TypeAhead items list. The object should be exactly the same instance (in term of memory) OR it has equals() defined that will handle the equality of the object-selection-candidate and the correct object in items list. Otherwise, the selected object will be labeled as its toString() method.

So, provide setValueByLabel(String label) method for developer to set selected item by its label.

Comments (1)

  1. Log in to comment