Skip to content

Commit

Permalink
Merge pull request #397 from qor5/fix-go-hooks-2
Browse files Browse the repository at this point in the history
fix: Update VXChipBuilder Color method to accept interface and use JS…
  • Loading branch information
danni-cool authored Dec 31, 2024
2 parents dff9295 + b4eba78 commit 98ed8ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ui/vuetifyx/vx-chip.go
Original file line number Diff line number Diff line change
Expand Up @@ -188,8 +188,8 @@ func (b *VXChipBuilder) Theme(v string) (r *VXChipBuilder) {
return b
}

func (b *VXChipBuilder) Color(v string) (r *VXChipBuilder) {
b.tag.Attr("color", v)
func (b *VXChipBuilder) Color(v interface{}) (r *VXChipBuilder) {
b.tag.Attr(":color", h.JSONString(v))
return b
}

Expand Down

0 comments on commit 98ed8ca

Please sign in to comment.