Completed
Last Updated: 18 Apr 2024 11:41 by ADMIN
Release 2024 Q2 (May)
Mike
Created on: 15 Apr 2024 19:57
Category: Form
Type: Bug Report
0
FormGroup Id is not rendered

When I assign an Id to a FormGroup in TelerikForm, it's value can be seen in code, but neither the attribute nor it's value get rendered.

 

<TelerikForm Model="@TestUser"
                     OnValidSubmit="@HandleValidSubmit"
                     OnInvalidSubmit="@HandleInvalidSubmit">
            <FormValidation>
                <DataAnnotationsValidator></DataAnnotationsValidator>
            </FormValidation>
            <FormItems>
                <FormGroup LabelText="User Information" Id="userinfo">
                    <FormItem Field="@nameof(User.FirstName)"></FormItem>
                    <FormItem Field="@nameof(User.LastName)"></FormItem>
                    <FormItem Field="@nameof(User.Email)">
                        <Template>
                            <label for="mail" class="k-label k-form-label">Email*:</label>
                            <TelerikTextBox Id="mail" @bind-Value="@TestUser.Email" InputMode="email" Placeholder="example@domain.com"></TelerikTextBox>
                            <TelerikValidationMessage For="@(() => TestUser.Email)"></TelerikValidationMessage>
                        </Template>
                    </FormItem>
                    <FormItem Field="@nameof(User.Password)">
                        <Template>
                            <label for="pass" class="k-label k-form-label">Password*:</label>
                            <TelerikTextBox Id="pass" @bind-Value="@TestUser.Password" Password="true"></TelerikTextBox>
                            <TelerikValidationMessage For="@(() => TestUser.Password)"></TelerikValidationMessage>
                        </Template>
                    </FormItem>
                    <FormItem Field="@nameof(User.BirthDate)" />
                    <FormItem Field="@nameof(User.AcceptTerms)" />
                </FormGroup>
                <FormGroup LabelText="Shipping Address" Id="shipaddress">
                    <FormItem LabelText="Country*: " Field="@nameof(User.Country)" />
                    <FormItem LabelText="City*: " Field="@nameof(User.City)" />
                    <FormItem LabelText="Address Line*: " Field="@nameof(User.AddressLine)" />
                    <FormItem LabelText="Second Address Line: " Field="@nameof(User.AddressLine2)" />
                </FormGroup>
            </FormItems>
        </TelerikForm>
1 comment
ADMIN
Dimo
Posted on: 16 Apr 2024 08:33

Hello Mike,

Thanks for reporting this! I am directly converting your ticket to a public bug report. I believe we will be able to fix this for our coming release next month.

I also awarded you some Telerik points.

Regards,
Dimo
Progress Telerik

Stay tuned by visiting our public roadmap and feedback portal pages! Or perhaps, if you are new to our Telerik family, check out our getting started resources!