mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2026-11-04 14:22:11 +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
@@ -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