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
Can reproduce this by setting up datasource menu with multiple option, and use the selectable config, and try to select anything that isn't the default. The onSelectedDataSources function will keep on outputting the default even after you select something different.
The text was updated successfully, but these errors were encountered:
Hi @yujin-emma sorry for the confusion - these are not 3 cases that I am testing, it is one case - basically I am selecting a different option other than the default, and it is being passed fine at least into the datasourcemenu component. However, within the datasourceselectable component it is somehow getting reset to the default one, even if passed in activeoption
@yujin-emma@zhongnansu I just pulled main and the bug is gone - if changes were made that address this I think we can close?
@derek-ho couldn't reproduce, I tried DataSourceSelectable in example plugin, it successfully print out the selected data source instead of default . Closing for now If there's still issue, feel free to reopen.
Describe the bug
There is a bug that DataSourceMenu selectable view is always setting the selected datasource as the default one, even after user select otherwise.
In my local code, console log shows that I select a local cluster (default is 9202):
In
DataSourceMenu
component, this is successfully logged out as the activeOptionIn DataSourceSelectable component, after getDefaultDatasource function it changes back to the default:
Can reproduce this by setting up datasource menu with multiple option, and use the selectable config, and try to select anything that isn't the default. The onSelectedDataSources function will keep on outputting the default even after you select something different.
The text was updated successfully, but these errors were encountered: