Subject: | feature request: way to identify which value in a list caused a constraint violation |
I have some form fields that contain comma-delimited list values. These get split into an array and each value is checked against the constraint for the field. As far as I can tell, there is no way to identify, from the HTML::FormFu::Exception object, which of the field values was responsible for the constraint violation. This makes it impossible to provide an error message more specific than "one of the items is wrong (in whatever way)". For longer lists, or subtly invalid input, it would be nice to preserve the association to the input value in the exception object.