looker-open-source / components

Looker's UI Components, Design Infrastructure and more
https://components.looker.com
MIT License
62 stars 31 forks source link

DashboardFilter Component isn't automatically encoding the special character in filter values #2977

Closed polkadots007 closed 1 year ago

polkadots007 commented 1 year ago

The DashboardFilter Component is not recognizing the filter values from suggestions having special characters such as '&' or '+'. For Example:

If value selected is 'A&B Area Ltd+P Co', then in network console, under suggestions?term=&filters= it is shows that payload is passed as filters: {"view_name.example_filter":"\"A B Area Ltd P Co\""}:

The filter cascading fails as well as a result and filters are not passed properly to dashboard as well.

guyellis commented 1 year ago

Our internal tracking number for this is 267303329

mdodgelooker commented 1 year ago

Hi @polkadots007 this issue is fixed in @looker/filter-components@1.0.3.