79284654

Date: 2024-12-16 12:25:44
Score: 1
Natty:
Report link

Turned out to be pretty simple - all I have to do is wrap the offending control in its own Editform:

<EditForm Model="@dummymodel">
    <TelerikComboBox Id="Category-field" Data="@Categories" @bind-Value="@CurrentCategoryId" TextField="@nameof(Category.Name)" ValueField="@nameof(Category.Id)" OnChange="@FilterItems" >
        <ComboBoxSettings>
            <ComboBoxPopupSettings Class="dropdownsize;" />
        </ComboBoxSettings>
    </TelerikComboBox>
</EditForm>

with the dummymodel defined as:

private object dummymodel = new object();

and it works fine...

Reasons:
  • Blacklisted phrase (1): I have to do
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Rob Marsh