Я пытаюсь открыть расслабленный модал. Вот мой JSON. Значение не передается, когда поле помещено под вспомогательный элемент. Я получаю сообщение об ошибке рядом с полем. Я делаю что-то не так? То же самое работает, когда я помещаю это в блоки типа ввода. Ниже приведен код JSON, который я создал с помощью Slack Block Kit Builder. Я также добавил action_id
{
"type": "modal",
"title": {
"type": "plain_text",
"text": "My App",
"emoji": true
},
"submit": {
"type": "plain_text",
"text": "Submit",
"emoji": true
},
"close": {
"type": "plain_text",
"text": "Cancel",
"emoji": true
},
"blocks": [
{
"type": "section",
"text": {
"type": "mrkdwn",
"text": "To"
},
"accessory": {
"type": "static_select",
"action_id": "to_time",
"placeholder": {
"type": "plain_text",
"text": "Select an item",
"emoji": true
},
"options": [
{
"text": {
"type": "plain_text",
"text": "8 AM",
"emoji": true
},
"value": "8"
},
{
"text": {
"type": "plain_text",
"text": "9 AM",
"emoji": true
},
"value": "9"
},
{
"text": {
"type": "plain_text",
"text": "10 AM",
"emoji": true
},
"value": "10"
},
{
"text": {
"type": "plain_text",
"text": "11 AM",
"emoji": true
},
"value": "11"
},
{
"text": {
"type": "plain_text",
"text": "12 PM",
"emoji": true
},
"value": "12"
},
{
"text": {
"type": "plain_text",
"text": "1 PM",
"emoji": true
},
"value": "1"
},
{
"text": {
"type": "plain_text",
"text": "2 PM",
"emoji": true
},
"value": "2"
},
{
"text": {
"type": "plain_text",
"text": "3 PM",
"emoji": true
},
"value": "3"
},
{
"text": {
"type": "plain_text",
"text": "4 PM",
"emoji": true
},
"value": "4"
},
{
"text": {
"type": "plain_text",
"text": "5 PM",
"emoji": true
},
"value": "5"
}
]
}
}
]
}
Значение не передано
![This is the block](https://i.stack.imgur.com/qKMVd.png)