Skip to content

Place text cursor in title field in template based issue after specified default value #25055

Closed
@sebthom

Description

@sebthom

Description

When adding a default value for the title in an issue template, the text cursor is set to the beginning of title's input instead of the end.

name: 🐞 Bug Report
about: File a bug report
title: "[Bug] "
labels:
- Type/Bug

Screenshots

Current:
image

Preferred:
image

Gitea Version

1.19.3

Can you reproduce the bug on the Gitea demo site?

Yes

Operating System

No response

Browser Version

firefox

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic/uiChange the appearance of the Gitea UItype/bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions