dynamic form binding errors not being cleared when row is removed

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

dynamic form binding errors not being cleared when row is removed

kenalex
Hi everyone,


       I have come across an issue when using dynamic forms with spring using the "Spring Thyme Seedstarter Manager"   demo application.

I notice when  an invalid  value (eg an alpha numerical string) is entered in the "seed per cell value" input box  which is not  the last element  in the  List of rows, an attempt to remove the row causes the   invalid value to propagate up the list.

Is there a way to clear the binding errors in the removeRow controller method in order to prevent this from happening?


row updated with invalid value


attempted to remove  row with invalid value.
Row was removed from underlying list but  binding error is still being flagged on the second row which was previously the third row