-
Notifications
You must be signed in to change notification settings - Fork 157
Closed
Labels
🐛 bugAny issue that describes a bugAny issue that describes a bug✅ status: resolvedApplies to issues that have pending PRs resolving them, or PRs that have already merged.Applies to issues that have pending PRs resolving them, or PRs that have already merged.
Description
Description
Dear Ignite,
We have been using the IgxGridStateDirective to persist and set the last state of the Grid.
I think there's an issue when applying filters, please follow these steps to reproduce:
- igniteui-angular version: ^12.2.3
- browser: tested in Edge but also happens in Chrome
Steps to reproduce
- Go to this stackblitz
- Click the FILTER button, the grid will be properly filtered
- Click the SAVE STATE button, the state will be saved into browser's local storage
- Click the LOAD STATE button
Result
Grid state is not properly restored, also take a look at the browser's console, this exception is raised "Cannot read properties of undefined (reading 'logic')"
Expected result
State of the grid should be able to restore properly including the saved filter expressions, no exception should be logged in browser's console.
Metadata
Metadata
Assignees
Labels
🐛 bugAny issue that describes a bugAny issue that describes a bug✅ status: resolvedApplies to issues that have pending PRs resolving them, or PRs that have already merged.Applies to issues that have pending PRs resolving them, or PRs that have already merged.