Skip to content

Conversation

@laurenic0l
Copy link
Contributor

Document action property and custom fields, improve overall clarity and tone

closes #600

Document action property and custom fields, improve overall clarity and
tone
Copy link
Member

@bbrennanbasis bbrennanbasis left a 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");
Copy link
Member

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()));
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add spacing to the [Logout] button, or make it centered. As it stands currently, it can be easily missed if the demo isn't in full view:

It wouldn't hurt to also add the same fix to LoginBasicView.java.

Image Image

@hyyan hyyan added status: needs-snapshot Update to the latest snapshot before this PR can be merged. status: blocked Waiting on external dependency or details labels Oct 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

status: blocked Waiting on external dependency or details status: needs-snapshot Update to the latest snapshot before this PR can be merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

document action prop and custom fields support in login component

4 participants