[Bug] Data Source picker always disabled
See original GitHub issueDescribe the bug The layer data source picker is always disabled
Expected behavior The data source picker should be visible and enabled when there are multiple datasets
Additional context
It seems that the data source picker is always disabled because of this check layer.type && config.columns
. Since most layers have required columns, it’s not possible to change the data source for a layer, even if the default chosen is not at all suitable for that layer’s data.
Additionally, i’m getting the warning Warning: Failed prop type: Invalid prop 'disabled' of type 'object' supplied to 'ItemSelector', expected 'boolean'.
Perhaps this is why it’s evaling to true?
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Why can't I change the Data Source in Power BI (di...
So, first we need to understand the logic that Power BI uses and why this option appears disabled. Everything happens within Power Query,...
Read more >6 Common Google Data Studio Problems and How to Fix Them
Because Data Studio is a new product, its properties are constantly changing, and you may encounter some strange error messages. The messages are...
Read more >cloud-init doesn't start when no data source is present
I am using KVM (via libvirt). 1. I take bionic-server-cloudimg-amd64.img from cloud-images.ubuntu.com. 2. I create a simple user-data file
Read more >Data source disabled unexpectedly - IBM
But if collector does not recognize the error and cannot recover automatically, the data source was disabled. This action keeps the collector from ......
Read more >Improved data source selection and Common Data Service ...
When the app has data sources, the data source picker shows those used in ... The view will always be executed on the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Noticed this too a while back, it’s not always disabled though; If you have multiple datasets loaded and create a new layer, you can’t select the dataset once you have selected a layer type. Though, if you press the 3 dots to expand the layer menu (before selecting a layer type), you will be able to select any loaded dataset.
I do totally agree that this feels like a bug, and it should be possible to change the dataset of an already set layer.
Not necessarily a must have feature, but I would expand the UI group by default, so the dataset dropdown is visible. Right now it’s very easy to miss. To go a step further I would put the dataset field above the layer type. From a UX perspective it would be way clearer.
On Tue, 23 Jul 2019, 21:50 Shan He, notifications@github.com wrote: