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
I just noticed that all the FormFields that override _validate() do not have their ValidationErrors (if the occur) caught and propagated to the "invalid" widget for display in the form. Example Widgets were the CheckBoxList and CheckBoxTable. To fix this I had to place the @twc.validation.catch_errors decorator on top of them. I noticed that in "dynforms" and core, they seem to pretty consistently do this for these methods when they are overridden. Any comments on this? Is this a bug in "forms" or in how the exceptions are being caught and handled in "core".
The text was updated successfully, but these errors were encountered:
I just noticed that all the FormFields that override _validate() do not have their ValidationErrors (if the occur) caught and propagated to the "invalid" widget for display in the form. Example Widgets were the CheckBoxList and CheckBoxTable. To fix this I had to place the @twc.validation.catch_errors decorator on top of them. I noticed that in "dynforms" and core, they seem to pretty consistently do this for these methods when they are overridden. Any comments on this? Is this a bug in "forms" or in how the exceptions are being caught and handled in "core".
The text was updated successfully, but these errors were encountered: