Fixed
This commit is contained in:
@@ -17,6 +17,7 @@ type IssueFormProps struct {
|
||||
CloseReason string // Set when status is "closed"
|
||||
Priority int
|
||||
IssueType string
|
||||
Assignee string
|
||||
Class string
|
||||
Attrs templ.Attributes
|
||||
Target string // Optional: if empty, server controls via HX-Target header
|
||||
@@ -100,6 +101,13 @@ templ IssueForm(props IssueFormProps) {
|
||||
Value: props.Priority,
|
||||
Step: 1,
|
||||
})
|
||||
@base.Input(base.InputProps{
|
||||
Name: "assignee",
|
||||
Label: "Assignee",
|
||||
Value: props.Assignee,
|
||||
Class: "w-full",
|
||||
Placeholder: "Enter Assignee",
|
||||
})
|
||||
if props.IssueID != "" {
|
||||
<div class="mt-4 border-t pt-3 space-y-2">
|
||||
<h3 class="text-sm font-semibold opacity-70">Dependencies</h3>
|
||||
@@ -160,7 +168,7 @@ templ IssueForm(props IssueFormProps) {
|
||||
</button>
|
||||
}
|
||||
if props.Target == "" {
|
||||
<div id="result"></div>
|
||||
<div id="result"></div>
|
||||
}
|
||||
</div>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user