emptyMessage appears before minLength is reached in autoComplete #3284
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
I'm submitting a ... (check one with "x")
Plunkr Case (Bug Reports)
http://plnkr.co/edit/fw41pIZ1tojfLoTEi1tg?p=preview
Current behavior
emptyMessage appears before minLength is reached in autoComplete component
Expected behavior
emptyMessage should be shound only if search does not return any results
Minimal reproduction of the problem with instructions
Open http://plnkr.co/edit/fw41pIZ1tojfLoTEi1tg?p=preview
Run it
Start typing "test"
Notice that after first symbol message "No results found" appears (minLength is set to 3)
Continue typing
Notice that after entered "tes", one result is found ("Test")
I believe that before search method is called, emptyMessage should not be shown to user.
The text was updated successfully, but these errors were encountered: