We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In our in-house project, binding of a Checkbox to a boolean bean property no longer seems to work.
I have an old copy of the bakery starter project based on 10.0.0.beta3.
I added a boolean field called archived to the User entity:
archived
User
public boolean isArchived() { return archived; } public void setArchived(boolean archived) { this.archived = archived; } private boolean archived;
I added a checkbox to user-form.html:
<vaadin-checkbox id="archived">Archived</vaadin-checkbox>
Then in UserForm.java I added the checkbox and a binding:
@Id("archived") private Checkbox archived;
and in setBinder() I added a new binding for the new field:
setBinder()
binder.bind(archived, "archived");
This works as expected and I can edit a user and set and Unser the archived property. See below:
Now, if I do the same with the latest starter, based on rc5, you'll notice that the archived checkbox is not being set when the dialog is re-opened:
I've attached the projects referenced above: vaadin-bakery-app_beta3_working.zip
my-starter-project_rc5_not_working.zip
Thanks.
David.
The text was updated successfully, but these errors were encountered:
Issue moved to vaadin/vaadin-checkbox-flow #60 via ZenHub
Sorry, something went wrong.
Thanks for the report, I've moved the issue to the Java integration repository of the web component. You can follow it from there.
No branches or pull requests
In our in-house project, binding of a Checkbox to a boolean bean property no longer seems to work.
I have an old copy of the bakery starter project based on 10.0.0.beta3.
I added a boolean field called
archived
to theUser
entity:I added a checkbox to user-form.html:
Then in UserForm.java I added the checkbox and a binding:
and in
setBinder()
I added a new binding for the new field:This works as expected and I can edit a user and set and Unser the
archived
property.See below:
Now, if I do the same with the latest starter, based on rc5, you'll notice that the
archived
checkbox is not being set when the dialog is re-opened:I've attached the projects referenced above:
vaadin-bakery-app_beta3_working.zip
my-starter-project_rc5_not_working.zip
Thanks.
David.
The text was updated successfully, but these errors were encountered: