mirror of
https://github.com/apache/superset.git
synced 2024-09-12 00:29:39 -04:00
Datasource cannot be empty (#3035)
This commit is contained in:
parent
95509f2000
commit
b301ba1f57
@ -35,6 +35,7 @@ export const controls = {
|
|||||||
isLoading: true,
|
isLoading: true,
|
||||||
clearable: false,
|
clearable: false,
|
||||||
default: null,
|
default: null,
|
||||||
|
validators: [v.nonEmpty],
|
||||||
mapStateToProps: (state) => {
|
mapStateToProps: (state) => {
|
||||||
const datasources = state.datasources || [];
|
const datasources = state.datasources || [];
|
||||||
return {
|
return {
|
||||||
|
Loading…
Reference in New Issue
Block a user