Skip to content

fix: autofocus name field on new contact - #5742

Open
madbob wants to merge 1 commit into
nextcloud:mainfrom
madbob:issue_2871
Open

madbob wants to merge 1 commit into
nextcloud:mainfrom
madbob:issue_2871

Conversation

@madbob

@madbob madbob commented Sep 27, 2026

Copy link
Copy Markdown
Collaborator

When "New contact" is clicked, and a new empty contact is set to ContactDetails, autofocus and selects text in the "Name" field to be immediately ready for edit. Leverages the existing selectInput() function, containing logic to trigger selection when default value is found in the "Name" field.

Fixes #2871

Signed-off-by: Roberto Guido <info@madbob.org>
@codecov

codecov Bot commented Sep 27, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

"New contact" text in "Name" field needs to be removed always when creating a new contact

1 participant