Using TextAreaControl for WHERE and HAVING clause section (#4090)

This commit is contained in:
Maxime Beauchemin
2017-12-19 12:11:35 -08:00
committed by GitHub
parent 281ae45495
commit d4e8d57fc4
2 changed files with 29 additions and 14 deletions

View File

@@ -910,9 +910,13 @@ export const controls = {
},
where: {
type: 'TextControl',
type: 'TextAreaControl',
label: t('Custom WHERE clause'),
default: '',
language: 'sql',
minLines: 2,
maxLines: 10,
offerEditInModal: false,
description: t('The text in this box gets included in your query\'s WHERE ' +
'clause, as an AND to other criteria. You can include ' +
'complex expression, parenthesis and anything else ' +
@@ -920,9 +924,13 @@ export const controls = {
},
having: {
type: 'TextControl',
type: 'TextAreaControl',
label: t('Custom HAVING clause'),
default: '',
language: 'sql',
minLines: 2,
maxLines: 10,
offerEditInModal: false,
description: t('The text in this box gets included in your query\'s HAVING ' +
'clause, as an AND to other criteria. You can include ' +
'complex expression, parenthesis and anything else ' +