Datasource cannot be empty (#3035)

This commit is contained in:
Rogan 2017-07-26 12:05:31 +08:00 committed by Maxime Beauchemin
parent 95509f2000
commit b301ba1f57
1 changed files with 1 additions and 0 deletions

View File

@ -35,6 +35,7 @@ export const controls = {
isLoading: true,
clearable: false,
default: null,
validators: [v.nonEmpty],
mapStateToProps: (state) => {
const datasources = state.datasources || [];
return {