Browse Source

add disable prop to selectMenu (#1102)

Reed Trevelyan 3 years ago
parent
commit
0b48d46eef
1 changed files with 1 additions and 0 deletions
  1. 1 0
      components.go

+ 1 - 0
components.go

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