Skip to content

关于布局组件Row的跨列显示问题 #8228

Description

@zijiaxing

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

我将示例程序中Row组件的跨列功能中“行显示 4 个 Address 占 2 列”示例的代码改成了下面的样子,但是显示出来的布局跟我想象中的不一样:

<ValidateForm Model="@SpanModel">
    <Row>
        <GroupBox Title="@Localizer["RowSpanTips3"]">
            <Row ItemsPerRow="ItemsPerRow.Two" RowType="RowType.Inline">
                <BootstrapInput @bind-Value="@SpanModel.Name" />
                <Select @bind-Value="@SpanModel.Education" />
                <Row ColSpan="2" RowType="RowType.Inline">
                    <BootstrapInput @bind-Value="@SpanModel.Address" />
                </Row>
            </Row>
        </GroupBox>
    </Row>
</ValidateForm>

实际效果:

Image

.Net版本:.NET10

Expected Behavior

期望效果:

Image

Interactive render mode

Interactive Server (Interactive server-side rendering (interactive SSR) using Blazor Server)

Steps To Reproduce

<ValidateForm Model="@SpanModel">
    <Row>
        <GroupBox Title="@Localizer["RowSpanTips3"]">
            <Row ItemsPerRow="ItemsPerRow.Two" RowType="RowType.Inline">
                <BootstrapInput @bind-Value="@SpanModel.Name" />
                <Select @bind-Value="@SpanModel.Education" />
                <Row ColSpan="2" RowType="RowType.Inline">
                    <BootstrapInput @bind-Value="@SpanModel.Address" />
                </Row>
            </Row>
        </GroupBox>
    </Row>
</ValidateForm>

Exceptions (if any)

No response

.NET Version

NET9.0

Anything else?

No response

Metadata

Metadata

Assignees

Labels

questionQuestion that needs to be answered

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions