Skip to content

Commit 6c23fad

Browse files
StarryKiraclaude
andcommitted
fix(settings): remove pattern attribute blocking Claude Code version save
The `pattern="\d+\.\d+\.\d+"` on the min_claude_code_version input caused the browser's native HTML5 form validation to silently block form submission when the value was invalid or when the hidden gateway tab was active. This resulted in no network request being sent when clicking Save on any tab. Backend already validates semver format and returns a proper 400 error, so the frontend pattern attribute is redundant. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 869952d commit 6c23fad

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

frontend/src/views/admin/SettingsView.vue

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1037,7 +1037,6 @@
10371037
type="text"
10381038
class="input max-w-xs font-mono text-sm"
10391039
:placeholder="t('admin.settings.claudeCode.minVersionPlaceholder')"
1040-
pattern="\d+\.\d+\.\d+"
10411040
/>
10421041
<p class="mt-1.5 text-xs text-gray-500 dark:text-gray-400">
10431042
{{ t('admin.settings.claudeCode.minVersionHint') }}

0 commit comments

Comments
 (0)