From 63ee674dcba6cf1b3784df4f5c340421b89b4d88 Mon Sep 17 00:00:00 2001 From: Magicapple <78581469+magicapple123@users.noreply.github.com> Date: Sat, 10 Oct 2026 15:40:21 +0000 Subject: [PATCH] fix(ui): disable auto-capitalization for rule content input (#8052) On macOS, WKWebView applies system auto-capitalization to text inputs, so typing a lowercase rule payload (e.g. a domain) in the rule editor dialog turned its first letter into uppercase and required a manual correction. Apply the same input-hint attributes already used by other text fields in the app (autoComplete/autoCorrect/autoCapitalize/spellCheck) to the rule content field. Fixes #8038 --- src/components/profile/rules-editor-viewer.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/components/profile/rules-editor-viewer.tsx b/src/components/profile/rules-editor-viewer.tsx index 540981203..54d0d65bf 100644 --- a/src/components/profile/rules-editor-viewer.tsx +++ b/src/components/profile/rules-editor-viewer.tsx @@ -684,6 +684,9 @@ export const RulesEditorViewer = (props: Props) => { ruleType.name !== 'SUB-RULE' && (