Skip to content

Commit

Permalink
Make select menu values optional to fix deserialization of message co…
Browse files Browse the repository at this point in the history
…mponent interactions (#2067)
  • Loading branch information
bumblepie authored Jul 26, 2022
1 parent 5363f2a commit 69484dc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/model/application/component.rs
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@ pub struct SelectMenu {
#[serde(default)]
pub options: Vec<SelectMenuOption>,
/// The result location for modals
#[serde(default)]
pub values: Vec<String>,
}

Expand Down

0 comments on commit 69484dc

Please sign in to comment.