I'm using Ember 2.4.1, and i'm currently having trouble trying to run queryParams with dynamic values.
Long story short, the application needs to filter a table by it's columns, but the columns are user generated through the application... So, i need first to get the column results to build a queryParams array.
Problem is that queryParams is executed before the model (i guess), and trying to update it in the afterModel hook, or with an Ember.computed results in a non-functional queryParams. =/
I thought about something with initializer... but the columns generated is based on the selected product... so i don't know if it will be effective.
Does some one here have ever faced some issue like this? Is there a good way to deal with this problem?
Aucun commentaire:
Enregistrer un commentaire