From 0b48d46eefd3dd886f2626a11ba8840dba4fa271 Mon Sep 17 00:00:00 2001 From: Reed Trevelyan Date: Mon, 21 Feb 2022 16:14:47 -0500 Subject: [PATCH] add disable prop to selectMenu (#1102) --- components.go | 1 + 1 file changed, 1 insertion(+) diff --git a/components.go b/components.go index a6716c0..2ebbdec 100644 --- a/components.go +++ b/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.