Budibase / budibase

Low code platform for building business apps and workflows in minutes. Supports PostgreSQL, MySQL, MariaDB, MSSQL, MongoDB, Rest API, Docker, K8s, and more 🚀
https://budibase.com
Other
22.47k stars 1.55k forks source link

Modal data loading - user data? #13441

Closed andyburgessmd closed 6 months ago

andyburgessmd commented 6 months ago

Checklist

Hosting

Describe the bug When a modal window is opened which requires access to user data it is not loading that data. For example if there is a create form which has a user object with a default value of {{ Current User._id }}, in a modal it does not set the default value, but if you open that to a full page it does set the default value. image image

Another example I have is using the comments plugin. When it is included in a modal it shows an error getting the user first name, but full screen it works as expected. image image

To Reproduce Steps to reproduce the behavior:

  1. Create a page and include a create form with a user field
  2. Set the user field to have a default value of {{ Current User._id }}
  3. Create a page to show that page in a modal view
  4. Publish the application and open the modal view

Expected behavior The user field should show the form with the default value set.

linear[bot] commented 6 months ago

BUDI-8160 Modal data loading - user data?

aptkingston commented 6 months ago

Actually noticed this myself when updating the comment box plugin a few days ago. I'll take a look 👍

mike12345567 commented 6 months ago

Should be fixed in latest.