Hey Guys, I am building my RadzenTemplateForm dynamically using this format (due to a dynamic schema):
private Dictionary<string, object> formData = new Dictionary<string, object>();
...
builder.OpenComponent<RadzenTextBox>(0);
builder.AddAttribute(1, "Value", value);
builder.AddAttribute(2, "ValueChanged", EventCallback.Factory.Create(this, (T newValue) => formData[fieldKey] = newValue));
builder.AddAttribute(10, "Name", fieldKey);
builder.CloseComponent();
But the form is re-rendering each time that I tab over.
I have the RadzenTemplateForm using the Model but I have also tried with "EditContext".
All works fine except that when tabbing over to the next control or clicking a checkbox, it re-renders all of my controls.
<RadzenTemplateForm TItem="Dictionary<string, object>" Model="@formData" Submit="OnSubmit" InvalidSubmit=@OnInvalidSubmit>