You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I'm using the MVVM pattern, MainpageViewModel, in the MainPage, then I want to bind the text in EntryMaterial, it doesn't work, it gives an error: "No property, BindableProperty, or event found for "Text", or mismatching type between value and property."
Hello
If I'm using the MVVM pattern, MainpageViewModel, in the MainPage, then I want to bind the text in EntryMaterial, it doesn't work, it gives an error: "No property, BindableProperty, or event found for "Text", or mismatching type between value and property."
in the MainPage.xaml:
<input:EntryMaterial x:Name="MEEntry" PlaceholderLabel="Firstname ..." Text="{Binding Firstname}"/>
in the MainpageViewModel:
public partial class MainpageViewModel : BaseViewModel { [ObservableProperty] private string _firstname = "John"; }
Thank you so much for your help :)
The text was updated successfully, but these errors were encountered: