Skip to content

Commit

Permalink
add disable prop to selectMenu (#1102)
Browse files Browse the repository at this point in the history
  • Loading branch information
Heanthor committed Feb 21, 2022
1 parent 8ac9c13 commit 0b48d46
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions components.go
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,7 @@ type SelectMenu struct {
// If MaxValues or MinValues are greater than one then the user can select multiple items in the component.
MaxValues int `json:"max_values,omitempty"`
Options []SelectMenuOption `json:"options"`
Disabled bool `json:"disabled"`
}

// Type is a method to get the type of a component.
Expand Down

0 comments on commit 0b48d46

Please sign in to comment.