Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
ChristopherHX opened this issue Jan 3, 2025 · 1 comment · Fixed by #33098
Assignees
Labels

Comments

@ChristopherHX
Copy link
Contributor

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

@ChristopherHX
Copy link
Contributor Author

I would take this issue after #33073, because this would cause merge conflicts due to moving the affected template

@go-gitea go-gitea locked as resolved and limited conversation to collaborators Apr 6, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant