Turn autocomplete off for branch selection #5074

Closed
opened 2025-11-02 06:13:28 -06:00 by GiteaMirror · 4 comments
Owner

Originally created by @tobias1012 on GitHub (Mar 18, 2020).

  • Gitea version (or commit ref): Stable (1.11.1
  • Git version: ALL
  • Operating system: GNU/LINUX Debian
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • Not relevant
  • Log gist: Not relevant

Description

When clicking the button to change branches the autocomplete pops off on google chrome and thus doesn't allow for the user to choose the upper branches before clicking out of that box (Wich can be hard as it needs to be done within that box)

This could be easily solved by either changing all CSS for the given class, making a new class for no autocompletion or inputting an attribute in the template file

Screenshots

image

Originally created by @tobias1012 on GitHub (Mar 18, 2020). <!-- 1. Please speak English, this is the language all maintainers can speak and write. 2. Please ask questions or configuration/deploy problems on our Discord server (https://discord.gg/gitea) or forum (https://discourse.gitea.io). 3. Please take a moment to check that your issue doesn't already exist. 4. Please give all relevant information below for bug reports, because incomplete details will be handled as an invalid report. --> - Gitea version (or commit ref): Stable (1.11.1 - Git version: ALL - Operating system: GNU/LINUX Debian - Database (use `[x]`): - [ ] PostgreSQL - [x] MySQL - [ ] MSSQL - [ ] SQLite - Can you reproduce the bug at https://try.gitea.io: - [x] Yes (provide example URL) - [ ] No - [ ] Not relevant - Log gist: Not relevant ## Description When clicking the button to change branches the autocomplete pops off on google chrome and thus doesn't allow for the user to choose the upper branches before clicking out of that box (Wich can be hard as it needs to be done within that box) This could be easily solved by either changing all CSS for the given class, making a new class for no autocompletion or inputting an attribute in the template file ## Screenshots <!-- **If this issue involves the Web Interface, please include a screenshot** --> ![image](https://user-images.githubusercontent.com/29657183/76949156-6d24bb00-6908-11ea-9b45-b4e909d57d5f.png)
GiteaMirror added the topic/uiissue/confirmed labels 2025-11-02 06:13:29 -06:00
Author
Owner

@stale[bot] commented on GitHub (May 17, 2020):

This issue has been automatically marked as stale because it has not had recent activity. I am here to help clear issues left open even if solved or waiting for more insight. This issue will be closed if no further activity occurs during the next 2 weeks. If the issue is still valid just add a comment to keep it alive. Thank you for your contributions.

@stale[bot] commented on GitHub (May 17, 2020): This issue has been automatically marked as stale because it has not had recent activity. I am here to help clear issues left open even if solved or waiting for more insight. This issue will be closed if no further activity occurs during the next 2 weeks. If the issue is still valid just add a comment to keep it alive. Thank you for your contributions.
Author
Owner

@zeripath commented on GitHub (May 17, 2020):

This would likely be a very easy pr.

@zeripath commented on GitHub (May 17, 2020): This would likely be a very easy pr.
Author
Owner

@aceArt-GmbH commented on GitHub (Apr 6, 2023):

Input has since got autocomplete="off" ac8d71ff07/web_src/js/components/RepoBranchTagSelector.vue (L17)

@aceArt-GmbH commented on GitHub (Apr 6, 2023): Input has since got `autocomplete="off"` https://github.com/go-gitea/gitea/blob/ac8d71ff07a3354a27d6a5daab45d1e79e242269/web_src/js/components/RepoBranchTagSelector.vue#L17
Author
Owner

@wxiaoguang commented on GitHub (Apr 6, 2023):

Already fixed by

@wxiaoguang commented on GitHub (Apr 6, 2023): Already fixed by * #15809
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#5074