-
Notifications
You must be signed in to change notification settings - Fork 834
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
DatePickerElement - missing placeholder causes TypeError #623
Comments
PR #659 fixes this issue. The change will be included in version 2.6.0 (that's going to be released in a few weeks) |
* Fix slackapi#639 Missing blocks & block elements * blocks * file blocks (for remote files) * rich-text blocks (out-of-scope in this commit) * block elements * multi-select elements * checkboxes * radio buttons * input block's elements slackapi#519 * rich text elements (out-of-scope in this commit) * filtering options for conversations * Fix slackapi#519 as mentioned above * Fix slackapi#632 DatePickerElement - missing placeholder causes TypeError * Add view support for modals and Home tabs ref slackapi#519 * Move parser methods to class methods, add more tests for view.state * Rename validation methods and fix backward incompatibilities * Add a test case for slackapi#623 and revise subtype getter * Fix slackapi#628 text length validation in SectionBlock * Add a sample using native Block Kit builders ref slackapi#500
* Fix slackapi#639 Missing blocks & block elements * blocks * file blocks (for remote files) * rich-text blocks (out-of-scope in this commit) * block elements * multi-select elements * checkboxes * radio buttons * input block's elements slackapi#519 * rich text elements (out-of-scope in this commit) * filtering options for conversations * Fix slackapi#519 as mentioned above * Fix slackapi#632 DatePickerElement - missing placeholder causes TypeError * Add view support for modals and Home tabs ref slackapi#519 * Move parser methods to class methods, add more tests for view.state * Rename validation methods and fix backward incompatibilities * Add a test case for slackapi#623 and revise subtype getter * Fix slackapi#628 text length validation in SectionBlock * Add a sample using native Block Kit builders ref slackapi#500
Fixed by #659 |
👋 slackclient 2.6.0rc1 is out. The pre-release version contains fixes for your issue described here. One week later from now, we'll be releasing version 2.6.0 to PyPI. If you have a chance, could you try the release candidate version out and let us know your feedback? Thank you very much for being patient with this issue. |
Description
When using a DatePickerElement object, if the placeholder attribute is not provided and to_dict() is called a TypeError is raised.
What type of issue is this? (place an
x
in one of the[ ]
)Requirements (place an
x
in each of the[ ]
)Bug Report
Filling out the following details about bugs will help us solve your issue sooner.
Reproducible in:
slackclient version: 2.5.0
python version: 3.6.8
OS version(s): MacOS Mojave
Steps to reproduce:
Result in Exception:
Expected result:
No exception as the
placeholder
attribute is optional.Actual result:
TypeError exception raised.
The text was updated successfully, but these errors were encountered: