Skip to content

Commit bc78ab7

Browse files
authored
feat: add defaultAutoResponsiveFormLayout feature flag (#21108)
The PR introduces a new feature flag, defaultAutoResponsiveFormLayout, which enables auto-responsive mode for all form layouts by default. Part of vaadin/flow-components#7164
1 parent 0365793 commit bc78ab7

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

flow-server/src/main/java/com/vaadin/experimental/FeatureFlags.java

+6
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,11 @@ public class FeatureFlags implements Serializable {
109109
"https://github.com/vaadin/flow-components/issues/6998", true,
110110
null);
111111

112+
public static final Feature DEFAULT_AUTO_RESPONSIVE_FORM_LAYOUT = new Feature(
113+
"Form Layout auto-responsive mode enabled by default",
114+
"defaultAutoResponsiveFormLayout",
115+
"https://github.com/vaadin/platform/issues/7172", true, null);
116+
112117
private List<Feature> features = new ArrayList<>();
113118

114119
File propertiesFolder = null;
@@ -140,6 +145,7 @@ public FeatureFlags(Lookup lookup) {
140145
features.add(new Feature(REACT19));
141146
features.add(new Feature(ACCESSIBLE_DISABLED_BUTTONS));
142147
features.add(new Feature(LAYOUT_COMPONENT_IMPROVEMENTS));
148+
features.add(new Feature(DEFAULT_AUTO_RESPONSIVE_FORM_LAYOUT));
143149
loadProperties();
144150
}
145151

0 commit comments

Comments
 (0)