mirror of
https://github.com/immich-app/immich
synced 2026-08-15 13:03:57 +00:00
feat(ui): add ImmichURLInput (#27105)
feat(ui): implement shared URL input configuration and update input fields
This commit is contained in:
parent
7993619ed2
commit
3a3469a5f9
6 changed files with 84 additions and 42 deletions
|
|
@ -400,15 +400,12 @@ class LoginForm extends HookConsumerWidget {
|
|||
submitText: 'next'.t(context: context),
|
||||
submitIcon: Icons.arrow_forward_rounded,
|
||||
onSubmit: getServerAuthSettings,
|
||||
child: ImmichTextInput(
|
||||
child: ImmichURLInput(
|
||||
controller: serverEndpointController,
|
||||
label: 'login_form_endpoint_url'.t(context: context),
|
||||
hintText: 'login_form_endpoint_hint'.t(context: context),
|
||||
validator: _validateUrl,
|
||||
keyboardAction: TextInputAction.next,
|
||||
keyboardType: TextInputType.url,
|
||||
autofillHints: const [AutofillHints.url],
|
||||
autoCorrect: false,
|
||||
keyboardAction: .next,
|
||||
onSubmit: (ctx, _) => ImmichForm.of(ctx).submit(),
|
||||
),
|
||||
),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue