Low code platform for building business apps and workflows in minutes. Supports PostgreSQL, MySQL, MariaDB, MSSQL, MongoDB, Rest API, Docker, K8s, and more 🚀
I have searched budibase discussions and github issues to check if my issue already exists
Hosting
Self
Method: docker
Budibase Version: 2.22.19
App Version: 2.22.19
Although this bug seems to have been there for around a week or two now
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.
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.
To Reproduce
Steps to reproduce the behavior:
Create a page and include a create form with a user field
Set the user field to have a default value of {{ Current User._id }}
Create a page to show that page in a modal view
Publish the application and open the modal view
Expected behavior
The user field should show the form with the default value set.
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.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.
To Reproduce Steps to reproduce the behavior:
{{ Current User._id }}
Expected behavior The user field should show the form with the default value set.