-
Couldn't load subscription status.
- Fork 0
docs: Update Login component documentation for 25.10 features #607
New issue
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
base: main
Are you sure you want to change the base?
Conversation
Document action property and custom fields, improve overall clarity and tone
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@laurenic0l added my changes and left some comments. For future reference, when writing about UI buttons, use brackets and the capitalization as shown on the button. For example, clicking the [Sign in] button does.....
|
|
||
| login.onSubmit(ev -> { | ||
| String id = customerId.getValue(); | ||
| String id = (String) ev.getData().get("customer-id"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We'll need to update the project to use 25.10 or the 25.10 snapshot before merging this PR. If we don't, the program will crash since getting values this way isn't implemented in 25.03.
| password.equals("admin") && | ||
| id.equals("Tesla")) { | ||
| login.close(); | ||
| getBoundComponent().add(new Button("Logout", e -> Page.getCurrent().reload())); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.


Document action property and custom fields, improve overall clarity and tone
closes #600