You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by vi...@apache.org on 2021/01/26 07:28:01 UTC

[superset] 01/02: Replace space with tabulator and enter as separators (#12730)

This is an automated email from the ASF dual-hosted git repository.

villebro pushed a commit to branch 1.0
in repository https://gitbox.apache.org/repos/asf/superset.git

commit 51c7b896f406f3fdb3c0dac1025cf5b6571b8f35
Author: Kamil Gabryjelski <ka...@gmail.com>
AuthorDate: Mon Jan 25 16:01:10 2021 +0100

    Replace space with tabulator and enter as separators (#12730)
---
 .../controls/FilterControl/AdhocFilterEditPopoverSimpleTabContent.jsx   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/superset-frontend/src/explore/components/controls/FilterControl/AdhocFilterEditPopoverSimpleTabContent.jsx b/superset-frontend/src/explore/components/controls/FilterControl/AdhocFilterEditPopoverSimpleTabContent.jsx
index 9940d06..df79f57 100644
--- a/superset-frontend/src/explore/components/controls/FilterControl/AdhocFilterEditPopoverSimpleTabContent.jsx
+++ b/superset-frontend/src/explore/components/controls/FilterControl/AdhocFilterEditPopoverSimpleTabContent.jsx
@@ -319,7 +319,7 @@ export default class AdhocFilterEditPopoverSimpleTabContent extends React.Compon
       allowClear: true,
       showSearch: true,
       mode: MULTI_OPERATORS.has(operator) && 'tags',
-      tokenSeparators: [',', ' ', ';'],
+      tokenSeparators: [',', '\n', '\t', ';'],
       loading: this.state.loading,
       value: comparator,
       onChange: this.onComparatorChange,