collective / collective.z3cform.datagridfield

Datagrid Field for z3c.forms
https://pypi.org/project/collective.z3cform.datagridfield/
8 stars 28 forks source link

Required fields error messages can be misleading #152

Open laulaz opened 1 year ago

laulaz commented 1 year ago

If you try to save a form with problems in Datagrid fields (ex: bad format, or missing field in a filled row), all the required fields (even in other datagrids) show as with errors, even when the row have not been filled.

This is misleading for users (imagine if you have a lot of Datagrid fields) :

https://user-images.githubusercontent.com/1101273/225369126-9b6a4416-0789-47b3-a90a-a937f9866388.mp4

petschki commented 2 weeks ago

I'm not sure if I unterstand correctly here. You mean, the field E-mails is not required but the column E-Mail is required if you provide row information? I