Skip to content

Commit

Permalink
multiselect: set height in WithHeight
Browse files Browse the repository at this point in the history
  • Loading branch information
ardnew committed Jan 24, 2024
1 parent bfa1c7b commit 8950f98
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions field_multiselect.go
Original file line number Diff line number Diff line change
Expand Up @@ -489,8 +489,8 @@ func (m *MultiSelect[T]) WithWidth(width int) Field {
}

// WithHeight sets the width of the multi-select field.
func (m *MultiSelect[T]) WithHeight(width int) Field {
m.width = width
func (m *MultiSelect[T]) WithHeight(height int) Field {
m.height = height
return m
}

Expand Down

0 comments on commit 8950f98

Please sign in to comment.