mirror of
https://github.com/jhd3197/ServerKit.git
synced 2026-12-01 20:55:16 +09:00
fix(ui): mark required fields and show inline errors in connection and engine install forms
Forms migrated to FormField / Label required / useFieldErrors: - Connect provider dialog: source OAuth app, DNS, cloud, storage (S3/B2), registrar, container registry and SMTP relay - Database engine install drawer: instance name and required template variables Submit buttons are no longer disabled for missing values; submitting with empty required fields shows inline errors, focuses the first invalid field and does not call the API.
This commit is contained in:
1 parent
af4c97af91
commit
ed597ce2ef
4 files changed
+169
-151
No files matched your search
@@ -240,7 +240,7 @@ const ADOPTION_CEILINGS = [
|
||||
},
|
||||
{
|
||||
name: 'hand-rolled form-group blocks (F2: FormField/useForm)',
|
||||
ceiling: 253,
|
||||
ceiling: 206,
|
||||
include: (file) => file.startsWith('pages/') || file.startsWith('components/'),
|
||||
pattern: /form-group/g,
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user