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

Closed
opened 2025-11-02 09:23:09 -06:00 by GiteaMirror · 0 comments
Owner

Originally created by @sebthom on GitHub (Jun 2, 2023).

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

Originally created by @sebthom on GitHub (Jun 2, 2023). ### 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](https://github.com/go-gitea/gitea/assets/426959/46765034-00c5-479e-9744-0302d17dc6d3) Preferred: ![image](https://github.com/go-gitea/gitea/assets/426959/fa175ca4-252f-4ba0-8549-7743b962e6e8) ### Gitea Version 1.19.3 ### Can you reproduce the bug on the Gitea demo site? Yes ### Operating System _No response_ ### Browser Version firefox
GiteaMirror added the type/bugtopic/ui labels 2025-11-02 09:23:09 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#10954