Consider a ViewModel with
[ObservableProperty]
public partial string Option { get; set; } = "OptA";
and the following XAML
<SfInputs:SfComboBox
SelectedValue="{Binding Option, Mode=TwoWay}"
SelectionMode="Single">
<SfInputs:SfComboBox.ItemsSource>
<ListCollection:List x:TypeArguments="x:String">
<x:String>OptA</x:String>
<x:String>OptB</x:String>
</ListCollection:List>
</SfInputs:SfComboBox.ItemsSource>
</SfInputs:SfComboBox>
Combobox is setting Option to null after initialization. How can I proceed?
Regards,
Diego