For Search attribute type Keyword, specific operators STARTS_WITH not shown when switching from Text to Keyword field in search UI
Describe the bug When a user is initially focused on a text field and then switches the field type to a keyword (e.g. selects a keyword Search Attribute), the expected keyword-specific search operators like STARTS_WITH do not appear in the UI.
To Reproduce Steps to reproduce the behavior:
-
Go to the search UI or filter panel.
-
Select a Search Attribute that is of type Text.
-
Focus on the input field
-
Now change the selection to a Search Attribute of type Keyword.
-
Observe that the STARTS_WITH operator is missing from the list of operators.
Expected behavior The UI should refresh the available operator list when the field type is changed, and display keyword-compatible operators STARTS_WITH after switching from a Text field to a Keyword field.