Commit d6c206a
authored
Fix max length for static option values (#1655)
According to the docs, this property accepts a maximum length of 150 chars whereas the SDK enforces 75.
- https://api.slack.com/reference/block-kit/composition-objects#option
> `value`: (String) A unique string value that will be passed to your app when this option is chosen. Maximum length for this field is 150 characters.
Without this fix, we can get validation errors:
```
slack_sdk.errors.SlackObjectFormationError: value attribute cannot exceed 75 characters
```1 parent f3be63f commit d6c206a
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
170 | 170 | | |
171 | 171 | | |
172 | 172 | | |
173 | | - | |
| 173 | + | |
174 | 174 | | |
175 | 175 | | |
176 | 176 | | |
| |||
201 | 201 | | |
202 | 202 | | |
203 | 203 | | |
204 | | - | |
| 204 | + | |
205 | 205 | | |
206 | 206 | | |
207 | 207 | | |
| |||
0 commit comments