mirror of
https://github.com/apache/superset.git
synced 2026-05-30 04:39:20 +00:00
Using TextAreaControl for WHERE and HAVING clause section (#4090)
This commit is contained in:
committed by
GitHub
parent
281ae45495
commit
d4e8d57fc4
@@ -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 ' +
|
||||
|
||||
Reference in New Issue
Block a user