absmach / magistrala-ui

UI Repository for Magistrala IoT
9 stars 15 forks source link

[BUG] Fix entity filtering #247

Open WashingtonKK opened 3 months ago

WashingtonKK commented 3 months ago

Is there an existing issue for this?

What were you trying to achieve?

When filtering an entity on ui modals, it only returns the entity when you input the full name rather than giving a list of entities that match the characters that have been input.

What are the expected results?

When searching for an entity, the ui should query the db to get entities beginning with the letters that are keyed in.

What are the received results?

You have to type the full entity name for it to bring you the entity.

Steps To Reproduce

  1. On magistrala ui
  2. As you invite users, on the invite user modal
  3. If you have several users, start typing the user name of any user you would like to invite
  4. Instead of it bringing matches as you type (e.g. users whose name starts with us..) it returns nothing until you type the complete exact user name

In what environment did you encounter the issue?

Magistrala ui

Additional information you deem important

No response