diff --git a/samples/todoapp/TodoApp.MAUI/MainPage.xaml b/samples/todoapp/TodoApp.MAUI/MainPage.xaml index 0a80473..b06b9c3 100644 --- a/samples/todoapp/TodoApp.MAUI/MainPage.xaml +++ b/samples/todoapp/TodoApp.MAUI/MainPage.xaml @@ -55,7 +55,7 @@ Completed="OnAddItemEntryCompleted" Placeholder="Enter Todo Item Text" ReturnCommand="{Binding AddItemCommand}" - ReturnCommandParameter="{Binding Text, Source={x:Reference addItemEntry}}" + ReturnCommandParameter="{Binding Text, Source={x:Reference addItemEntry}, x:DataType=Entry}" Style="{StaticResource addItemEntry}" /> diff --git a/samples/todoapp/TodoApp.MAUI/TodoApp.MAUI.csproj b/samples/todoapp/TodoApp.MAUI/TodoApp.MAUI.csproj index df0379e..c87993a 100644 --- a/samples/todoapp/TodoApp.MAUI/TodoApp.MAUI.csproj +++ b/samples/todoapp/TodoApp.MAUI/TodoApp.MAUI.csproj @@ -43,6 +43,18 @@ See https://github.com/CommunityToolkit/Datasync/issues/521. --> true + + + true