Important Notice - Forums is archived
To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

TUTORIALVaadin lets you build secure, UX-first PWAs entirely in Java.
Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.
Calling javascript synchronously by Enver Haase, 1 month ago
CS Validation TextField Addon: Textfield-Error
I am using the CS Validation text field addon and while inspecting firebug, i noticed that the required error message
.v-validatedtextfield-validmessage
is positioned to the right of the textfield. I want to move this error message so that it sits at the bottom of the textfield, when i added some CSS to style this, i did not get the correct configuration. Does anyone know how i can achieve this, this is what i have so far
.v-validatedtextfield-errormessage{
color: red;
position: absolute;
top: 13px; // if this is set to high or to low, it falls off the screen as it seems to be adjusted to the textfields height
right: 23px;
}
Last updated on
You can set "display: block" for the element, then it should always wrap to the next line.
Last updated on
+1
You cannot reply to this thread.