Skip to content

Commit

Permalink
fix: use name for data list
Browse files Browse the repository at this point in the history
  • Loading branch information
katallaxie authored Aug 21, 2024
1 parent 98d1038 commit c01bc29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/forms/datalist.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ func Datalist(props DatalistProps) htmx.Node {
htmx.HxIndicator(utilx.IfElse(utilx.Empty(props.Indicator), htmx.HxClssNameIndicatorSelector, props.Indicator)),
),
htmx.DataList(
htmx.ID(props.ID),
htmx.ID(props.Name),
),
)
}

0 comments on commit c01bc29

Please sign in to comment.