mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2026-10-28 00:42:08 +08:00
fix(rules): disable auto-capitalization in rule content input (#8042)
* fix(rules): disable auto-capitalization in rule content input Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(rules): pass input hints to the rule content input element --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: wonfen <eiwonfen@gmail.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
wonfen
parent
f9ef9d78cb
commit
3456de1fb6
@@ -18,6 +18,10 @@
|
||||
- 修复 Windows 服务因路径或目录权限问题无法启动时,缺少重新安装服务的提示
|
||||
- 修复 Windows 服务回退检查失败后状态未更新、无法重新尝试 Sidecar 的问题
|
||||
|
||||
**🍎 macOS**
|
||||
|
||||
- macOS 修复编辑规则时「规则内容」输入的首字母被自动转为大写的问题
|
||||
|
||||
**🐧 Linux**
|
||||
|
||||
- Linux 修复安装或修复服务后仍无法启动内核、开启 TUN 模式的问题
|
||||
|
||||
@@ -681,6 +681,13 @@ export const RulesEditorViewer = (props: Props) => {
|
||||
autoComplete="new-password"
|
||||
size="small"
|
||||
sx={{ minWidth: '240px' }}
|
||||
slotProps={{
|
||||
htmlInput: {
|
||||
autoCorrect: 'off',
|
||||
autoCapitalize: 'off',
|
||||
spellCheck: false,
|
||||
},
|
||||
}}
|
||||
value={ruleContent}
|
||||
required={ruleType.required ?? true}
|
||||
error={(ruleType.required ?? true) && !ruleContent}
|
||||
|
||||
Reference in New Issue
Block a user