summaryrefslogtreecommitdiffhomepage
path: root/frontend/src/pages/Settings/Radarr/index.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/src/pages/Settings/Radarr/index.tsx')
-rw-r--r--frontend/src/pages/Settings/Radarr/index.tsx5
1 files changed, 5 insertions, 0 deletions
diff --git a/frontend/src/pages/Settings/Radarr/index.tsx b/frontend/src/pages/Settings/Radarr/index.tsx
index b2e858178..264c78924 100644
--- a/frontend/src/pages/Settings/Radarr/index.tsx
+++ b/frontend/src/pages/Settings/Radarr/index.tsx
@@ -54,6 +54,11 @@ const SettingsRadarrView: FunctionComponent = () => {
<Chips
label="Excluded Tags"
settingKey="settings-radarr-excluded_tags"
+ sanitizeFn={(values: string[] | null) =>
+ values?.map((item) =>
+ item.replace(/[^a-z0-9_-]/gi, "").toLowerCase(),
+ )
+ }
></Chips>
<Message>
Movies with those tags (case sensitive) in Radarr will be excluded