change range to max four to avoid errors
This commit is contained in:
@@ -67,7 +67,7 @@ templ IssueForm(props IssueFormProps) {
|
|||||||
Label: "Priority",
|
Label: "Priority",
|
||||||
Class: "flex-1",
|
Class: "flex-1",
|
||||||
Min: 0,
|
Min: 0,
|
||||||
Max: 5,
|
Max: 4,
|
||||||
Value: props.Priority,
|
Value: props.Priority,
|
||||||
Step: 1,
|
Step: 1,
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -142,7 +142,7 @@ func IssueForm(props IssueFormProps) templ.Component {
|
|||||||
Label: "Priority",
|
Label: "Priority",
|
||||||
Class: "flex-1",
|
Class: "flex-1",
|
||||||
Min: 0,
|
Min: 0,
|
||||||
Max: 5,
|
Max: 4,
|
||||||
Value: props.Priority,
|
Value: props.Priority,
|
||||||
Step: 1,
|
Step: 1,
|
||||||
}).Render(ctx, templ_7745c5c3_Buffer)
|
}).Render(ctx, templ_7745c5c3_Buffer)
|
||||||
|
|||||||
Reference in New Issue
Block a user