workflow_dispatch inputs without a description end up without any label/name in the UI #13911

Closed
opened 2025-11-02 10:57:02 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @ChristopherHX on GitHub (Jan 3, 2025).

Originally assigned to: @ChristopherHX on GitHub.

Description

Checkboxes and Comboboxes may not show any label if description is not set

on:
  workflow_dispatch:
    inputs:
      test-a:
        type: boolean
      test-b:
        type: choice
        options:
        - a
        - b
        - c
        - d
      test-c:
        description: One with description!
        type: boolean
jobs:
  _:
    runs-on: windows-latest
    steps:
    - run: ${{ tojson(inputs) }}
      shell: cat {0}

Gitea Version

1.23-rc0

Can you reproduce the bug on the Gitea demo site?

Yes

Log Gist

No response

Screenshots

Bildschirmfoto 2025-01-03 um 23 35 21

Git Version

No response

Operating System

linux

How are you running Gitea?

build myself / demo site

Database

SQLite

Originally created by @ChristopherHX on GitHub (Jan 3, 2025). Originally assigned to: @ChristopherHX on GitHub. ### Description Checkboxes and Comboboxes may not show any label if description is not set ```yaml on: workflow_dispatch: inputs: test-a: type: boolean test-b: type: choice options: - a - b - c - d test-c: description: One with description! type: boolean jobs: _: runs-on: windows-latest steps: - run: ${{ tojson(inputs) }} shell: cat {0} ``` ### Gitea Version 1.23-rc0 ### Can you reproduce the bug on the Gitea demo site? Yes ### Log Gist _No response_ ### Screenshots <img width="1511" alt="Bildschirmfoto 2025-01-03 um 23 35 21" src="https://github.com/user-attachments/assets/017cc07c-c12a-4bf8-b1fe-d2709dec220a" /> ### Git Version _No response_ ### Operating System linux ### How are you running Gitea? build myself / demo site ### Database SQLite
GiteaMirror added the type/bug label 2025-11-02 10:57:02 -06:00
Author
Owner

@ChristopherHX commented on GitHub (Jan 3, 2025):

I would take this issue after https://github.com/go-gitea/gitea/issues/33073, because this would cause merge conflicts due to moving the affected template

@ChristopherHX commented on GitHub (Jan 3, 2025): I would take this issue after https://github.com/go-gitea/gitea/issues/33073, because this would cause merge conflicts due to moving the affected template
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#13911