FL
activeTab lost after live component change
Is this a known issue? Can't find it mentioned anywhere.
If there is a live (reactive) field inside of a tab and you trigger it's refresh (or any change), the tabs component losses activeTab (doesn't matter if it is in url persisted or session persisted or both). It just resets activeTab to 1 always.
Example if you have a toggle in a tab with a section it is supposed to enable/disable. Once you trigger that toggle, the tabs component will change activeTab to 1 internaly and whatever logic you have that is tied to that is broken. And you are still left on whatever tab you were on, so it doesn't change visually to tab 1.
2 replies
Placeholders in $data
So got a strange bit of behavior.
Trying to make a confirm action on tabs where I am getting all the fields in tabs from its $state and hashing them to get the initial hash with afterStateHidrated().
The problem occurs when I am doing a new hash of those same fields at any point afterwards. They all include placeholders now with null values.
Is this intended to be this way?
2 replies
SPA: userMenuItems
Is this a bug or just happening on my end? When I have SPA mode enabled the userMenuItems does not update. Whatever you do it is just the way it was when the page loaded first time. Hidden and visible do not work and asking for getCurrentPanel, always returns the default one.
I have a link in the menu going to another panel and on that other panel another link returning back to original panel.
But the dropdown never updates, only the link that was original loaded on actual page load is displayed.
When the page moves from one panel to the other the dropdown remains open.
There are no errors anywhere.
5 replies