Skip to content

onFormChange can't return errors [SPR-1720] #6417

@spring-projects-issues

Description

@spring-projects-issues

Condor opened SPR-1720 and commented

The onFormChange method parameter list doesn't include the BindException errors parameter, so it isn't possible for a form change to reject the changed value.

I suggest adding another onFormChange method WITH the errors parameter that calls the original onFormChange method by default and modifying calls to onFormChange to include the errors parameter.


Affects: 1.2.6, 2.0 M2

Metadata

Metadata

Assignees

Labels

in: webIssues in web modules (web, webmvc, webflux, websocket)type: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions