add disable prop to selectMenu (#1102)
This commit is contained in:
parent
8ac9c13dda
commit
0b48d46eef
1 changed files with 1 additions and 0 deletions
|
@ -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.
|
// If MaxValues or MinValues are greater than one then the user can select multiple items in the component.
|
||||||
MaxValues int `json:"max_values,omitempty"`
|
MaxValues int `json:"max_values,omitempty"`
|
||||||
Options []SelectMenuOption `json:"options"`
|
Options []SelectMenuOption `json:"options"`
|
||||||
|
Disabled bool `json:"disabled"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// Type is a method to get the type of a component.
|
// Type is a method to get the type of a component.
|
||||||
|
|
Loading…
Reference in a new issue