RadzenDropDown not updating bound Value

I have used the following coding to setup a Razden Drop Down

@page "/Admin/Test"

        <RadzenTemplateForm Data="OrgInfo" Style="height:100%; width:100%;" >
            <RadzenRow Gap="1rem"  Style="width:100%; height:100%; max-width:100%; max-height:100%">
                <RadzenColumn Size="12" Style="width:100%">
                    <RadzenStack Gap="0rem" Style="width:100%">
                        <RadzenFieldset Text="Organisation Properties">
                            <RadzenStack Gap="0rem">
                                <RadzenRow>
                                    <RadzenColumn Size="1">
                                        <RadzenLabel Text="Is Display Node:" Style="font-size: 12px" Component="drpDisplayNode" />
                                    </RadzenColumn>
                                    <RadzenColumn Size="3" Style="font-size: 12px">
                                        <RadzenDropDown @bind-Value="OrgInfo.IsDisplay" TValue="string" Multiple="false" Data="YesNoData" Name="drpDisplayNode" ValueProperty="value" TextProperty="text" />
                                    </RadzenColumn>
                                </RadzenRow>
                            </RadzenStack>
                        </RadzenFieldset>
                    </RadzenStack>
                </RadzenColumn>
            </RadzenRow>
        </RadzenTemplateForm>

@code {
private class RefOrganisation
{
public string IsDisplay;
}

private class YesNo
{
    public string value;
    public string text;
}

private RefOrganisation OrgInfo = new();
private static List<YesNo> YesNoData = new() { new YesNo() { value = "Y", text = "Yes" }, new YesNo() { value = "N", text = "No" } };

}

When the page runs, then i try select a value in the drop down, the drop down closes, and no value is then inserted into the bound value variable, and the drop down stops working completely, as in the drop down no longer opens at all.

Not exactly sure if this is something i am doing or if there is an actual underlying problem. Any advise or suggestions to fix this would be appreciated.

These are fields not properties and cannot be used for TextProperty and ValueProperty.

Hi @enchev,
I was under the impression that the names of the data fields to be used where the text and value of each option in the drop down would be found in the provided data. (The data in this case being the list of 2 fields)

If this is not what it is meant to be doing, how would i go about achieving this then?

@enchev, Something i have now done and it seems to work, is instead of doing a

@bind-value

I used the Value property of the drop down and that now seems to work as expected without changing anything else.

I am suspecting that the issue is in the @bind-Value situation