add disable prop to selectMenu (#1102)

This commit is contained in:
Reed Trevelyan 2022-02-21 16:14:47 -05:00 committed by GitHub
parent 8ac9c13dda
commit 0b48d46eef
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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.