-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FormLayout ignoring column setting #6728
Labels
Comments
As a workaround, call
|
Confirmed in the web component using the following example: <vaadin-accordion>
<vaadin-accordion-panel>
<vaadin-accordion-heading slot="summary">Panel 1</vaadin-accordion-heading>
<div>Panel 1 content</div>
</vaadin-accordion-panel>
<vaadin-accordion-panel>
<vaadin-accordion-heading slot="summary">Panel 2</vaadin-accordion-heading>
<vaadin-form-layout>
<vaadin-form-item>
<label slot="label">Label 1</label>
<input />
</vaadin-form-item>
<vaadin-form-item>
<label slot="label">Label 2</label>
<input />
</vaadin-form-item>
</vaadin-form-layout>
</vaadin-accordion-panel>
</vaadin-accordion>
<script type="module">
import '@vaadin/accordion';
import '@vaadin/form-layout';
document.querySelector('vaadin-form-layout').responsiveSteps = [{ columns: 1 }];
</script> Note: this seems to be a regression from #7792 as the problem doesn't happen if I remove the block added in that PR. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
FormLayout ignores column settings when placed inside an AccordionPanel:
Expected outcome
FormLayout should be displayed in the same way, independently of whether it's inside an AccordionPanel or not
Minimal reproducible example
@permitAll
@PageTitle("Form Layout Test")
@route(value = "formLayoutTest")
public class FormLayoutTestView extends VerticalLayout {
}
Steps to reproduce
Access the provided 'formLayoutTest' View
Environment
Vaadin version(s): 24.4.13
OS: Windows 11
Browsers
Chrome
The text was updated successfully, but these errors were encountered: