mirror of
https://github.com/apache/superset.git
synced 2026-04-18 15:44:57 +00:00
[explorev2] making Datasource an Viz controls not clearable (#1845)
* [explorev2] making Datasource an Viz controls not clearable * Making choices default to empty list
This commit is contained in:
committed by
GitHub
parent
92aa1a6124
commit
bf67d64708
@@ -39,6 +39,7 @@ export const fields = {
|
||||
datasource: {
|
||||
type: 'SelectField',
|
||||
label: 'Datasource',
|
||||
clearable: false,
|
||||
default: null,
|
||||
choices: [],
|
||||
description: '',
|
||||
@@ -47,6 +48,7 @@ export const fields = {
|
||||
viz_type: {
|
||||
type: 'SelectField',
|
||||
label: 'Viz',
|
||||
clearable: false,
|
||||
default: 'table',
|
||||
choices: formatSelectOptions(Object.keys(visTypes)),
|
||||
description: 'The type of visualization to display',
|
||||
|
||||
Reference in New Issue
Block a user