We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Problem: DateTimePicker is now allowed inside of InputBlock
Testing:
Code:
InputBlock(label="Select Branch", element=DateTimePicker(action_id="datetimepicker-action",initial_datetime = 1628633820))
Error:
print(InputBlock(label="Select Branch", element=DateTimePicker(action_id="datetimepicker-action",initial_datetime = 1628633820))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/homebrew/lib/python3.11/site-packages/slackblocks/blocks.py", line 258, in __init__ raise InvalidUsageError("") slackblocks.errors.InvalidUsageError
Documentation: LINK I tested this this in a slack block editor to make sure it works inside a InputBlock
Caveats: This is only available on Desktop and only in Modal or Messages
Possible Resolution: Add DateTimePicker to the constant HERE
The text was updated successfully, but these errors were encountered:
DateTimePicker may also need a function to validate that inital_datetime is a valid unix timestamp in seconds.
Sorry, something went wrong.
[BUG] Fix issues #64 #65 #66
afad928
[BUG] Fix issues #64 #65 #66 (#69)
8e5f26d
Successfully merging a pull request may close this issue.
Problem: DateTimePicker is now allowed inside of InputBlock
Testing:
Code:
Error:
Documentation: LINK
I tested this this in a slack block editor to make sure it works inside a InputBlock
Caveats: This is only available on Desktop and only in Modal or Messages
Possible Resolution: Add DateTimePicker to the constant HERE
The text was updated successfully, but these errors were encountered: