Hello,
I have been attempting to generate CRUD pages and consistently receive the same error on add/edit forms for all FK fields:
Found a malformed 'RadzenFormField' tag helper. Tag helpers must have a start and end tag or be self closing.
and
Found a malformed 'ChildContent' tag helper. Tag helpers must have a start and end tag or be self closing.
The generated source code for the Add page is
<PageTitle>Add CompanyAttendanceauthorization</PageTitle>
<RadzenColumn SizeMD=12>
<RadzenAlert Shade="Shade.Lighter" Variant="Variant.Flat" Size="AlertSize.Small" AlertStyle="AlertStyle.Danger" Visible="@errorVisible">Cannot save CompanyAttendanceauthorization</RadzenAlert>
<RadzenTemplateForm TItem="MWAdmin.Server.Models.MW_Dev.CompanyAttendanceauthorization" Data="@(companyAttendanceauthorization)" Visible="@(companyAttendanceauthorization != null)" Submit="@FormSubmit">
<RadzenStack>
<RadzenFormField Text="User Key Navigation" Variant="Variant.Outlined">
<ChildContent>
<RadzenFormField Text="Department Key Navigation" Variant="Variant.Outlined">
<ChildContent>
<RadzenFormField Text="Shift Key Navigation" Variant="Variant.Outlined">
<ChildContent>
</RadzenStack>
<RadzenStack style="margin-top:1rem;" Orientation="Orientation.Horizontal" AlignItems="AlignItems.Center" JustifyContent="JustifyContent.End" Gap="0.5rem">
<RadzenButton ButtonStyle="ButtonStyle.Primary" ButtonType="ButtonType.Submit" Icon="save" Text="Save" Variant="Variant.Flat" />
<RadzenButton ButtonStyle="ButtonStyle.Light" Text="Cancel" Variant="Variant.Flat" Click="@CancelButtonClick" />
</RadzenStack>
</RadzenTemplateForm>
</RadzenColumn>
Additionally none of the FKs generated dropdown datagrids as I would expect.
Assuming I did something wrong, I watched the CRUD tutorial and realized I do not have the Relationships options available on the Configure Entity form:
Whereas the tutorial does:
My database has functioning FKs and I have already used the same database to generate an app in Radzen Studio that I am attempting to recreate in Radzen Blazor Studio. I included all FK tables when inferring the schema and have encountered this with every CRUD page I have attempted so far.
Please let me know if I am doing something wrong or if this is a bug. Thanks!
Zach