Skip to content

Conversation

@AliAsgharSWE
Copy link
Contributor

Implement search and filter functionality for model options in AiModelOptions component

  • Added dynamic filtering of model options based on user input.
  • Only the first 5 matching models are displayed, or fallback to the first 5 options if no match.
  • Passed searchTerm from parent component to filter the model options list.
@jakobhoeg
Copy link
Owner

jakobhoeg commented Feb 4, 2025

Hi @AliAsgharGill,

Thank you for your contribution. However, right now as it is, it's not working properly.
When clicking the dropdown button, it opens, but if I then try to hover an item, it closes as soon as i move the mouse.

Preview:
https://github.com/user-attachments/assets/c545f9b3-25e2-4be4-bea7-7ab9aa0237b1

Also seems to be showing other data from previously entered entries outside of just the 5 models.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants