You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by mi...@apache.org on 2022/10/19 11:49:32 UTC

[superset] branch master updated: feat(select filter): add CRLF separator for Windows (#21867)

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

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


The following commit(s) were added to refs/heads/master by this push:
     new 7c4102c20e feat(select filter): add CRLF separator for Windows (#21867)
7c4102c20e is described below

commit 7c4102c20e8391f5174486afdaadfcd402e0dc60
Author: mapledan <ma...@gmail.com>
AuthorDate: Wed Oct 19 19:49:23 2022 +0800

    feat(select filter): add CRLF separator for Windows (#21867)
    
    Co-authored-by: mapledan <s1...@gmail.com>
---
 superset-frontend/src/components/Select/constants.ts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/superset-frontend/src/components/Select/constants.ts b/superset-frontend/src/components/Select/constants.ts
index b8c60e8523..63218d9b71 100644
--- a/superset-frontend/src/components/Select/constants.ts
+++ b/superset-frontend/src/components/Select/constants.ts
@@ -21,7 +21,7 @@ import { rankedSearchCompare } from 'src/utils/rankedSearchCompare';
 
 export const MAX_TAG_COUNT = 4;
 
-export const TOKEN_SEPARATORS = [',', '\n', '\t', ';'];
+export const TOKEN_SEPARATORS = [',', '\r\n', '\n', '\t', ';'];
 
 export const EMPTY_OPTIONS = [];