You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When editing a record inside a GridField in ModelAdmin, validation errors coming from a form validator (e.g. via RequiredFields returned from getCMSValidator()) trigger a "Validation error" toast.
However, validation errors coming from the validate() method on a DataObject subclass do not trigger a toast.
Acceptance criteria
All validation errors trigger a toast, regardless of how the validation is performed
The text was updated successfully, but these errors were encountered:
Follow-up to #1544
When editing a record inside a
GridField
inModelAdmin
, validation errors coming from a form validator (e.g. viaRequiredFields
returned fromgetCMSValidator()
) trigger a "Validation error" toast.However, validation errors coming from the
validate()
method on aDataObject
subclass do not trigger a toast.Acceptance criteria
The text was updated successfully, but these errors were encountered: