autoResponsive

When set to true, the component automatically creates and adjusts columns based on the container's width. Columns have a fixed width defined by columnWidth and their number increases up to the limit set by maxColumns. The component dynamically adjusts the number of columns as the container size changes. When this mode is enabled, responsiveSteps are ignored.

By default, each field is placed on a new row. To organize fields into rows, there are two options:

  1. Use <vaadin-form-row> to explicitly group fields into rows.

  2. Enable the autoRows property to automatically arrange fields in available columns, wrapping to a new row when necessary. <br> elements can be used to force a new row.

The auto-responsive mode is disabled by default. To enable it for an individual instance, use this property. Alternatively, if you want it to be enabled for all instances by default, enable the defaultAutoResponsiveFormLayout feature flag before <vaadin-form-layout> elements are added to the DOM:

window.Vaadin.featureFlags.defaultAutoResponsiveFormLayout = true;