From 7c4102c20e8391f5174486afdaadfcd402e0dc60 Mon Sep 17 00:00:00 2001 From: mapledan Date: Wed, 19 Oct 2022 19:49:23 +0800 Subject: [PATCH] feat(select filter): add CRLF separator for Windows (#21867) Co-authored-by: mapledan --- 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 b8c60e852360..63218d9b712e 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 = [];