Skip to content

Highlight changed Binder behavior for hidden fields in Vaadin 25 Upgrade guide #24109

@davidvassen

Description

@davidvassen

Describe your motivation

We're currently upgrading from Vaadin 24 to Vaadin 25 and run into a couple of issues due to bindings not being processed properly anymore when fields are not visible.

I understand this was a conscious change that was introduced with isApplied and isAppliedPredicate in the Binding class. However, we personally consider this a rather breaking change and were surprised to not find any mention about this in the upgrade guide.

Describe the solution you'd like

Please add this to the upgrade guide, plus a recommendation how to restore the old behavior. We have so many forms and going through all of them would require a lot of time.

I guess the code below is a possible workaround, but it would be great to have some kind of property on the binder that can be easily set.

getBindings().forEach(binding -> binding.setIsAppliedPredicate(_ -> true));

Metadata

Metadata

Assignees

Projects

Status

Done

Status

Done / Pending Release

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions