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.75k stars 1.57k forks source link

Allow calculation views to hide required fields. #14720

Closed samwho closed 1 month ago

samwho commented 1 month ago

Description

This was raised by @aptkingston while implementing the frontend for this feature. When we return a view from the views API, all of the table fields that are not present on the view are "enriched" onto it but set to visible: false. So when making modifications to the view, the update request sent will include these invisible fields.

We need to support calculation views being allowed to hide required fields, which I believe is okay because rows cannot be written to calculation views.