Skip to content

Binder.bindInstanceFields should bind sub properties #9210

@Artur-

Description

@Artur-

#8384 makes it possible to bind to sub properties but that feature is apparently not used when using bindInstanceFields. It should be possible to do e.g.

@PropertyId("customer.phoneNumber")
protected TextField phone;

...

BeanValidationBinder<Order> binder = new BeanValidationBinder<>(Order.class);
binder.bindInstanceFields(this);

to bind Order.customer.phoneNumber to the phone field.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions