require a series on a bar chart in the UI (#8726)

This commit is contained in:
David Aaron Suddjian 2019-12-03 15:30:12 -08:00 committed by Erik Ritter
parent 003e98c231
commit f055231e52
1 changed files with 2 additions and 0 deletions

View File

@ -17,6 +17,7 @@
* under the License.
*/
import { t } from '@superset-ui/translation';
import { nonEmpty } from '../validators';
export default {
controlPanelSections: [
@ -55,6 +56,7 @@ export default {
controlOverrides: {
groupby: {
label: t('Series'),
validators: [nonEmpty],
},
columns: {
label: t('Breakdowns'),