Skip to content
This repository has been archived by the owner on Dec 18, 2024. It is now read-only.

Reset token filters in component style tab does not clear "type" field #1292

Open
martinboue opened this issue Nov 26, 2024 · 0 comments · May be fixed by #1293
Open

Reset token filters in component style tab does not clear "type" field #1292

martinboue opened this issue Nov 26, 2024 · 0 comments · May be fixed by #1293

Comments

@martinboue
Copy link

The "Reset filters" button in the component style tab does not properly clear the type filter. Applied filters to the table are correct but visually, the field still has a value.

Example here: https://material.angular.io/components/autocomplete/styling

Steps to reproduce

When page is loaded, 3 tokens are displayed:
Image

If I filter by type "Color", works fine, 1 token is displayed:
Image

But, if I click on "Reset filters", all 3 tokens are displayed but visually the "Color" option is still selected in "Filter by type" field:
Image

This issue affects every components styling tab.

martinboue added a commit to martinboue/material.angular.io that referenced this issue Nov 26, 2024
@martinboue martinboue linked a pull request Nov 26, 2024 that will close this issue
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant