Skip to content

Commit

Permalink
Write FocusOnLoad only when not default because ExternalMultiSelectMe…
Browse files Browse the repository at this point in the history
…nu does not support it
  • Loading branch information
rzezak committed Nov 5, 2023
1 parent 0f096e6 commit 2a117ee
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions SlackNet/Blocks/SelectMenuBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,6 @@ protected SelectMenuBase(string type) : base(type) { }
/// <summary>
/// Indicates whether the element will be set to auto focus within the <see cref="ViewInfo"/> object. Only one element can be set to true.
/// </summary>
[IgnoreIfDefault] // See issue #177 - Slack returns an invalid parameter for ExternalMultiSelectMenu
public bool FocusOnLoad { get; set; }
}

0 comments on commit 2a117ee

Please sign in to comment.