mirror of
https://github.com/go-gitea/gitea.git
synced 2026-09-16 01:43:24 +09:00
enhance(actions): make workflow dispatch choice dropdown support search (#39154)
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
This commit is contained in:
@@ -12,7 +12,7 @@
|
|||||||
<div class="ui field {{if .Required}}required{{end}}">
|
<div class="ui field {{if .Required}}required{{end}}">
|
||||||
{{if eq .Type "choice"}}
|
{{if eq .Type "choice"}}
|
||||||
<label>{{or .Description .Name}}:</label>
|
<label>{{or .Description .Name}}:</label>
|
||||||
<select class="ui selection dropdown" name="{{.Name}}">
|
<select class="ui search selection dropdown" name="{{.Name}}">
|
||||||
{{range .Options}}
|
{{range .Options}}
|
||||||
<option value="{{.}}" {{if eq $item.Default .}}selected{{end}}>{{.}}</option>
|
<option value="{{.}}" {{if eq $item.Default .}}selected{{end}}>{{.}}</option>
|
||||||
{{end}}
|
{{end}}
|
||||||
|
|||||||
Reference in New Issue
Block a user