Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add number input block element #1132

Merged

Conversation

sedyn
Copy link
Contributor

@sedyn sedyn commented Nov 22, 2022

I added NumberInputBlockElement type. It's necessary to make input blocks which accepts only numbers.

@kanata2 kanata2 self-requested a review December 2, 2022 18:36
// Number input elements are currently only available in modals.
//
// More Information: https://api.slack.com/reference/block-kit/block-elements#number
type NumberInputBlockElement struct {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[note] focus_on_load field is missing, but I think it is OK to submit another PR for this one after merging this PR.

@kanata2
Copy link
Member

kanata2 commented Dec 7, 2022

Thanks. LGTM!

@kanata2 kanata2 merged commit 657f4e7 into slack-go:master Dec 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants