Hi,
I have a form with labelPosition=ASIDE
Inside I have a textfield.
Label is correctly put aside.
Now I update the label using “setLabel”
The ASIDE label stays the same a new label is added on TOP moving down the inputtext fields.
What can I do?
Thanks,
Mario
I need to do a form where labels are unit of measures and I must update them depending the state of an entityPicker
Hi,
labelPosition
isn’t a TextField property. It’s an XML setting that indicates how to add components to the FormLayout
component. Take a look at Vaadin doc for information on how FormLayout
can be configured.
As far as I see, if FormItem
is used (i.e. labelPosition="ASIDE"
) the label can’t be changed, because GeneratedVaadinFormItem#addToLabel
has no public
access.
Gleb