About the EnhancedFormLayout category

EnhancedFormLayout: FormItem in the standard Vaadin FormLayout loses the required indicator of the field component. This component is and extended version of FormLayout with version of FormItem, EnhancedFormItem that solves this problem by inherting the required indicator of the wrapped component to the EnhancedFormItem itself.

See more: [form-layout] Form item label doesn't show indicator for required fields · Issue #835 · vaadin/web-components · GitHub

Fixed also issues with getResponsiveSteps().

See more: Getting ResponsiveSteps - class cast exception · Issue #1397 · vaadin/flow-components · GitHub

Adds methods to modify label aferwards.

EnhancedFormItem#setLabel(String)

EnhancedFormItem#setLabel(Component)

Adds following convenience API to configure the layout parameters more easily:

EnhancedFormLayout#setFormItemLabelWidth(String)

EnhancedFormLayout#setFormItemRowSpacing(String)

EnhancedFormLayout#setColSpacing(String)

EnhancedFormItem#setLabelWidth(String)

EnhancedFormItem#setRowSpacing(String)

EnhancedFormItem#setRightAlinged(boolean) - Make label right aligned

EnhancedFormItem#setBottomAligned(boolean) - Make the form item bottom aligned

Sponsored development

Major pieces of development of this add-on has been sponsored by multiple customers of Vaadin. Read more about Expert on Demand at: Support and Pricing