systelab / systelab-components

Systelab Angular common components
MIT License
14 stars 8 forks source link

Autocomplete api combo box component error #881

Closed p-riera closed 1 month ago

p-riera commented 1 month ago

Describe the bug Navigation with arrows not working properly, throws an error in console and filtering does not work properly when clicking on input

To Reproduce Steps to reproduce the behavior:

  1. Go to 'showcase autcomplete'
  2. Click on 'input text'
  3. Type in some text
  4. Use enter to select option
  5. Clear text
  6. Use arrows to navigate through options
  7. See console error
  8. Click on arrow icon to open dropdown
  9. See options filtered
  10. Close dropdown
  11. Click on input to open dropdown
  12. See all options unfiltered

Expected behavior No errors on console and dropdown should always filter according to input value

Screenshots image image