wontlost-ltd / vaadin-litelement-ckeditor

Vaadin14+LitElement+CKEditor5
Other
17 stars 13 forks source link

Placement of error_text div is in a non-standard location #45

Open nbabb opened 1 year ago

nbabb commented 1 year ago

The error_text div placement is in a location that is not standard for Vaadin components. It would be nice if the placement of this was defaulted to be underneath the component, as shown in the following image.

image

As a side note, the fact that this component is created via a builder makes it hard to customize as you cannot subclass the component. For example, since the component extends CustomField, it would be nice to be able to supply a default empty value via the public CustomField(T defaultValue) constructor, as one example. CustomField specifies this as null, by default, but the component seems to think empty string is the default when the component is cleared.