Mandatory Datafields in GRID - taking a cue from a FORM

I have really missed having datafields in the Grid being Mandatory - it would really help to enforce user data integrity.

I understand the issue of inserting the record on entry of the first datafield…and I know that you can enforce mandatory on the Form method. I can default say “Mandatory” in text fields in cae they are left null but presume that appears after the record is inserted ?

If I go to the trouble of creating a FORM and identifying about 6-7 of them are mandatory would it be possible at least to put a message/label/ on the GRID screen title block or in the datafield itself so when the cursor is in that datafield is says “Mandatory” or displays say a red Exclamation Mark in the field ?

Thanks

Hey @mikemitch, thanks for sharing your idea! I’ll discuss it with the team :raising_hands:

Hey @mikemitch, thanks for the suggestion! We discussed this with the team, and for now, we don’t plan to add this functionality to Grid view.

The main challenge is that enforcing mandatory fields could limit existing workflows. For example, users often need to create a row first and fill in its fields later. If some fields were mandatory, they wouldn’t be able to create the row without filling them in upfront. This is just one example, and other features and workflows could be affected too.

We want to keep this flexibility so Baserow can support different use cases.

That said, we’re open to revisiting this in the future. If you have any ideas on how this could work without limiting other functionality, or examples of how it could be implemented, we’d be happy to hear them! :slightly_smiling_face:

Thanks for the update…I was not suggesting anything programmatic…all I was suggesting was a visual clue in the Grid display…when the Form identifies mandatory data fields, what I was suggesting was a visual clue in the grid columns…use colour of the column title…or the whole column…or…an icon displayed in the column title…to advise this should have data in it…

Mike

Thanks, Mike! Let me double-check this with the team then. :raising_hands: