Custom expression editor: do not always suggest an open parenthesis (#20533)
For functions which do not accept any arguments, i.e. COUNT and CUMULATIVECOUNT, do not suggest the completion with the "(" character.
Showing
- frontend/src/metabase/lib/expressions/suggest.js 8 additions, 2 deletionsfrontend/src/metabase/lib/expressions/suggest.js
- frontend/src/metabase/query_builder/components/expressions/ExpressionEditorTextfield.jsx 1 addition, 1 deletion...lder/components/expressions/ExpressionEditorTextfield.jsx
- frontend/test/metabase/lib/expressions/suggest.unit.spec.js 5 additions, 5 deletionsfrontend/test/metabase/lib/expressions/suggest.unit.spec.js
Loading
Please register or sign in to comment