Erweiterungen
This commit is contained in:
@@ -99,7 +99,7 @@ public class RegisterView extends VerticalLayout {
|
||||
emailField = new TextField("E-Mail-Adresse");
|
||||
emailField.setWidthFull();
|
||||
emailField.setRequired(true);
|
||||
emailField.setPlaceholder("ihre.email@beispiel.de");
|
||||
emailField.setPlaceholder("");
|
||||
|
||||
passwordField = new PasswordField("Passwort");
|
||||
passwordField.setWidthFull();
|
||||
@@ -206,6 +206,12 @@ public class RegisterView extends VerticalLayout {
|
||||
form.setColspan(verifyRow, 2);
|
||||
|
||||
// Haupt-Submit-Button und Zurück-Link über volle Breite
|
||||
// Fester Abstand oberhalb des Registrieren-Buttons
|
||||
com.vaadin.flow.component.html.Div spacer = new com.vaadin.flow.component.html.Div();
|
||||
spacer.getStyle().set("height", "15px");
|
||||
form.add(spacer);
|
||||
form.setColspan(spacer, 2);
|
||||
|
||||
form.add(submitButton);
|
||||
form.setColspan(submitButton, 2);
|
||||
form.add(backButton);
|
||||
|
||||
Reference in New Issue
Block a user