widget doesn't update properly from another property received with $listeners
Hello friends!!
I have two components: WidgetA where I set a filter
and I use setFilter to fire an event filterUpdated
Then, in the WidgetB I have this
When filter is updated in WidgetA I get the value but looks like widget renders before getting the new value for filter, because when I update again the render take the previous value.
Could you help with any ideas? Thanks,
Could you help with any ideas? Thanks,
1 Reply
In different places I found that I had to add the updated method but this method didn't run so I made a reset of the table in the setFilter method.
Thanks,