Answers

It's the oddest thing because I created a test project and everything worked fine. But in my main project, if there's a space between the text and the {0} placeholder, it won't show the value. Here's the code:

@ColeX said:
I don't clear about this cause either, you could try to convert the type of DueDate ,just change it from DateTime to string.

I can't. It's a DateTime field in a database. I don't want it stored as a string or have to convert it every time I want to use it.

It's a bug in Xamarin. If I use a string type it works, but not with a DateTime. For some reason it doesn't like to have a blank space between the text and the {0}. Without a space it works find. Just another Xamarin Forms quirk to work around. I will file a bug report.

@ColeX said:
I don't clear about this cause either, you could try to convert the type of DueDate ,just change it from DateTime to string.

I can't. It's a DateTime field in a database. I don't want it stored as a string or have to convert it every time I want to use it.

It's a bug in Xamarin. If I use a string type it works, but not with a DateTime. For some reason it doesn't like to have a blank space between the text and the {0}. Without a space it works find. Just another Xamarin Forms quirk to work around. I will file a bug report.

Please link it back to this post and post the github issue here, so many people say it a bug and then later realise it's a mistake.