Skip to content

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

Closed
@ChristopherHX

Description

@ChristopherHX

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions