ix icon indicating copy to clipboard operation
ix copied to clipboard

Category Filter | Is there way to add free-text value for any category

Open Jayesh26 opened this issue 9 months ago • 1 comments

Prerequisites

  • [X] I have read the Contributing Guidelines.
  • [X] I have not leaked any internal/restricted information like screenshots, videos, code snippets, links etc.

Suggestion / feature request

image

In above eg. we have added "Name" as category given free-text value (Name category options are empty [])

We can see empty dropdown including static data, as we have given [] (empty) options why its showing ?

We are unbale to add few more category after free-text input value added for category.

Jayesh26 avatar May 07 '24 11:05 Jayesh26

Hello @Jayesh26, thank you for your question. Can you please be more specific about the expected behaviour? Adding custom input to a category is possible. The dropdown is empty but shows the context the user is currently in (category name and operator).

nuke-ellington avatar May 10 '24 09:05 nuke-ellington

Hi @nuke-ellington, Yes it shows the context but it does not allow me to add more filter category. eg. Name: "testSearch" (free text search input) In above eg user has entered the value against the category "Name" and he wants to add more category then on clicking on "CategoryFiter" it will just show the values for previous category and wont let me add new category

Jayesh26 avatar May 16 '24 08:05 Jayesh26

@Jayesh26 thank you for your message. Unfortunately it is not clear to me what the expected behaviour should be. Could you please provide a step by step example?

E.g.:

  • User selects category "Name"
  • User types "testSearch"
  • User presses "Enter"
  • User selects category "Name"

nuke-ellington avatar May 16 '24 10:05 nuke-ellington

Hi @nuke-ellington,

E.g.:

Step1: User selects category "Name" Step2: User types "testSearch" Step3: User wants to add one more category called "Label" But there is issue as use click on Category Filter to add new Category but he always get context box of Name Category so unable to add new Category.

I have attached below video, where for Product category added free text value and wanted to add few more category but unable to add

https://github.com/siemens/ix/assets/3745459/b2cf83ad-6c6e-48cd-86d3-cfdf2e26d0f8

Jayesh26 avatar May 16 '24 10:05 Jayesh26

Thank you for the clarification @Jayesh26 . Unless the user presses "Enter" the text will remain in the input since the filter was not applied yet. They are still setting a filter for e.g. "Product". This is expected behavior so I will close the issue.

nuke-ellington avatar May 16 '24 10:05 nuke-ellington

@nuke-ellington True user has not pressed the "Enter" but he still wants to add some more filter and Category Filter is not allowing him to add after free-text value for last category. This can be a valid scenario in most of the cases where user want to add some free-text value as we are allowing him to add.

Jayesh26 avatar May 16 '24 10:05 Jayesh26