mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-16 06:14:21 +00:00
fix(onboarding): auto-select first SSH key for better UX
- Auto-select first SSH key when available instead of requiring explicit selection - Remove disabled placeholder option from dropdown - Prevents confusing error when user clicks "Use Selected Key" without changing dropdown - Improves onboarding flow by having a sensible default selection 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
1 parent
04625591ea
commit
de24489aa7
2 files changed
+4
-2
No files matched your search
@@ -264,7 +264,6 @@
|
||||
<div class="p-4 rounded-lg border border-neutral-200 dark:border-coolgray-400">
|
||||
<form wire:submit='selectExistingPrivateKey' class="flex flex-col gap-4">
|
||||
<x-forms.select label="Existing SSH Keys" id='selectedExistingPrivateKey'>
|
||||
<option disabled selected value="">-- Select a Private Key --</option>
|
||||
@foreach ($privateKeys as $privateKey)
|
||||
<option wire:key="{{ $loop->index }}" value="{{ $privateKey->id }}">
|
||||
{{ $privateKey->name }}
|
||||
|
||||
Reference in new issue
Block a user