Hello,
when I save the data of my customer, the data is saved correctly, my field Document_Type=1 or 2 or 3 depend by dropdownlist.
When reload the record the dropdownlist not bind correctly the record value, show always the first choice.
This my code:
<SfDropDownList TItem="_TipoDocumento" TValue="string"
PopupHeight="230px"
@bind-Index="@ddlIndex"
Placeholder="Seleziona Tipo documento"
DataSource="@_TipoDocumento.TipoDocumentos"
FloatLabelType="@FloatLabelType.Always"
@bind-Value="@objClienti.TipoDocumento">
<DropDownListFieldSettings Text="Text" Value="ID"></DropDownListFieldSettings>
</SfDropDownList>
Attachment:
WhatsApp_Video_20220118_at_19.17.10.mp4_4139d5ee.zip