Skip to content

feat(chat): add initialOption and option_groups to ExternalSelect#410

Merged
bensabic merged 2 commits intomainfrom
josh/external-select-enhancements
Apr 27, 2026
Merged

feat(chat): add initialOption and option_groups to ExternalSelect#410
bensabic merged 2 commits intomainfrom
josh/external-select-enhancements

Conversation

@dancer
Copy link
Copy Markdown
Collaborator

@dancer dancer commented Apr 21, 2026

summary

follow-up to #397 (external_select implementation)

  • add initialOption prop to ExternalSelect for pre-selecting a value when the modal opens (edit flows)
  • add OptionsLoadGroup type so onOptionsLoad handlers can return grouped options with headers
  • Slack adapter maps initialOption to initial_option and groups to option_groups per Slack's API
  • all new fields are optional - no breaking changes

@vercel
Copy link
Copy Markdown
Contributor

vercel Bot commented Apr 21, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
chat Ready Ready Preview, Comment, Open in v0 Apr 27, 2026 11:32pm
chat-sdk-nextjs-chat Ready Ready Preview, Comment, Open in v0 Apr 27, 2026 11:32pm

@bensabic bensabic force-pushed the josh/external-select-enhancements branch from 46566fe to 5e5d305 Compare April 27, 2026 23:31
@bensabic bensabic merged commit 70281dc into main Apr 27, 2026
10 of 12 checks passed
@bensabic bensabic deleted the josh/external-select-enhancements branch April 27, 2026 23:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants