Skip to content

Commit

Permalink
Merge pull request #178 from rzezak/master
Browse files Browse the repository at this point in the history
Write FocusOnLoad only when not default because ExternalMultiSelectMenu does not support it
  • Loading branch information
soxtoby authored Nov 8, 2023
2 parents 0f096e6 + 2a117ee commit 1ceb8ff
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 1ceb8ff

Please sign in to comment.