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
If a store is used as a component value, input chips currently subscribes twice to it.
Once, to set the value to the internal hidden Select, and once for it's other logi.
If people use a fancy store that might do API requests or similar, this could lead to problems where the API is called twice or logic is fired twice that shouldn't be called twice.
This might also affect other components with a hidden select like the ListBoxes.
Current Behavior
If a store is used as a component value, input chips currently subscribes twice to it.
Once, to set the value to the internal hidden Select, and once for it's other logi.
If people use a fancy store that might do API requests or similar, this could lead to problems where the API is called twice or logic is fired twice that shouldn't be called twice.
This might also affect other components with a hidden select like the ListBoxes.
Relevant Discord link:
https://discord.com/channels/1003691521280856084/1130244031859925152
Expected Behavior
Components should subscribe to passed in store values only once.
Steps To Reproduce
The console log will be triggered twice
Link to Reproduction / Stackblitz
No response
More Information
No response
The text was updated successfully, but these errors were encountered: