FormGroup should have also ColumnSpan property.

Don't you think that FormGroup should have also ColumnSpan property?

In this way each  FormGroup can be scattered accordingly with its data content in DataForm . 

Each FormGroup may need a different width


2 Replies

ER Erciyes July 30, 2024 09:54 AM UTC

Microsoft.AspNetCore.Components.WebAssembly.Rendering.WebAssemblyRenderer[100]

      Unhandled exception rendering component: Object of type 'Syncfusion.Blazor.DataForm.FormGroup' does not have a property matching the name 'ColumnSpan'.

System.InvalidOperationException: Object of type 'Syncfusion.Blazor.DataForm.FormGroup' does not have a property matching the name 'ColumnSpan'.


But check the link, it says  ColumnSpan does exist.

Class FormGroup - Blazor API Reference | Syncfusion



UD UdhayaKumar Duraisamy Syncfusion Team August 5, 2024 04:32 PM UTC

We would like to inform you that we have already included support for the ColumnSpan property in FormGroup in our 26.1.35 version. Therefore, we suggest updating your packages to use the ColumnSpan property in FormGroup on your end. Please refer to the sample below for reference.


        <FormGroup LabelText="Contact Information" ColumnSpan="2">

            <FormItem Field="@nameof(EmployeeDetailsModel.PersonalMailId)" LabelText="Personal Mail" Placeholder="[email protected]" />

            <FormItem Field="@nameof(EmployeeDetailsModel.Country)" LabelText="Country" EditorType="FormEditorType.AutoComplete" />

            <FormItem Field="@nameof(EmployeeDetailsModel.AddressLine)" EditorType="FormEditorType.TextArea" LabelText="Address Line" />

        </FormGroup>

 




Sample: Syncfusion Blazor Playground: Write, Edit, Compile & Share Code for Blazor Components


Loader.
Up arrow icon