Entry Binding to Int - Placeholder not shown

VM.0891VM.0891 DEMember
edited February 2016 in Xamarin.Forms

Hello,
did anyone know how to show the Placeholder of an (C#-created, not XAML) Entry binded to an Int-Property?
See a picture of the problem attached.
Cheers!

Answers

  • VM.0891VM.0891 DEMember

    Has no one an idea?

  • devnldevnl NLUniversity ✭✭

    The int datatype is a value type, so it has no null value. That's why it's showing 0. Try binding to a nullable int.

Sign In or Register to comment.