C
C#13mo ago
Nutter

QueryParameter .NET MAUI

the query parameter Id is not being set correctly in my viewmodel .when using breakpoints I am able to see in the SetProperty function the value param shows as the correct value but it isnt actually setting the value
5 Replies
Amoeba
Amoeba13mo ago
id is null Try changing the value of id to "" or string.Empty
Anxoul
Anxoul13mo ago
Yup system.nullreference exception
Amoeba
Amoeba13mo ago
And enable nullable in your project
Anxoul
Anxoul13mo ago
that'd be .csproj isn't it?
Amoeba
Amoeba13mo ago
Yup
Want results from more Discord servers?
Add your server
More Posts