You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What is the current behavior?
The globalFilter do not get updated when consumer of EMT passes filterString case, because of when the get filterString is evaluated the this.args.filterString always exists. So we can never get the updated value in the filterString
Note: This is the same case for all the places where local tracked variable is used for tracking the state.
[Bug] What is the expected behavior?
The filterString updates
[Feature] What is the motivation / use case for changing the behavior?
none
[Support] What exactly you try to do?
none
Please tell us about your environment:
ember-models-table version: any version
ember version: any version
ember-data version: any version
ember-cli version: any version
node version: any version
npm or yarn version: any version
Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, gitter, etc)
The fix is to change the how _filterString is being setup.
I'm submitting a ...
[ ] support requestAsk in the official Ember Discord server.What is the current behavior?
The
globalFilter
do not get updated when consumer of EMT passesfilterString
case, because of when theget filterString
is evaluated thethis.args.filterString
always exists. So we can never get the updated value in the filterStringNote: This is the same case for all the places where local
tracked
variable is used for tracking the state.The filterString do not get updated if user provides a filterString SparshithNR/ember-models-table#1
pull the change or make the same changes to local clone from above. Visit: http://localhost:4201/#/examples/block-usage
Try to update the string.
Put a debugger at the get and set for the filterString.
https://github.com/SparshithNR/ember-models-table/blob/9a501ab8fb5a59135000278039f1c584d9155b5d/addon/components/models-table.ts#L334-L341
[Bug] What is the expected behavior?
The
filterString
updates[Feature] What is the motivation / use case for changing the behavior?
none
[Support] What exactly you try to do?
none
Please tell us about your environment:
ember-models-table
version: any versionember
version: any versionember-data
version: any versionember-cli
version: any versionnode
version: any versionnpm
oryarn
version: any version_filterString
is being setup.or
The text was updated successfully, but these errors were encountered: