CGA1123/slack-ruby-block-kit

JSON attribute should be `initial_options` instead of `initial_option`

caalberts opened this issue · 2 comments

@CGA1123 Either this is a bug or Slack actually allows singular version of the attribute.

anvox commented

I didn't test it properly. It should be initial_options, initial_option is for single choice. You could verify it here

Could you help to open a PR to fix it? @caalberts
if you're busy, I'll back to fix it tomorrow. Thanks :)

Hey @caalberts

This is correct. MultiConversationsSelect, MultiChannelsSelect, and MultiUsersSelect are also affected by being singular rather than plural.