Interactive Dialog Dropdowns not working properly on web

Summary

Cant scroll through dropdowns in interactive dialogs on web app

Steps to reproduce

Mattermost Version : 5.7
Send an interactive dialog through the api using this json:

{"callback_id":"abcd","title":"Test Dialog","elements":[{"display_name":"Test Dropdown","name":"test","type":"select","optional":false,"options":[{"text":"data1","value":"data1"},{"text":"data2","value":"data2"},{"text":"data3","value":"data3"}]}],"submit_label":"Submit","notify_on_cancel":false}

Expected behavior

The dropdown in the dialog should be scrollable

Observed behavior

The dropdown only shows the last entry. The rest of the entries can be searched by typing, but do not show up in the scroll view. They are getting hidden behind the title of the dialog.
07%20PM

Hi @anubhav,

A PR to fix this is open here: https://github.com/mattermost/mattermost-webapp/pull/2235.

1 Like

What’s the endpoint URL do you sent, I even cannot open interactive dialog, it always complains:

{“id”:“api.context.invalid_body_param.app_error”,“message”:“Invalid or missing dialog in request body”,“detailed_error”:“”,“request_id”:“p7furam6m3b43fgcuit5b1ng7a”,“status_code”:400}