Skip to content

Commit

Permalink
fix: update value should modify select
Browse files Browse the repository at this point in the history
  • Loading branch information
maaslalani committed Jul 9, 2024
1 parent cf8e3f5 commit 4289f94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion field_multiselect.go
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,7 @@ func (m *MultiSelect[T]) numSelected() int {
return count
}

func (m MultiSelect[T]) updateValue() {
func (m *MultiSelect[T]) updateValue() {
value := make([]T, 0)
for _, option := range m.options.val {
if option.selected {
Expand Down

0 comments on commit 4289f94

Please sign in to comment.