1iveowl / plugin.label.markdown

Xamarin Label that displays MarkDown
MIT License
11 stars 1 forks source link

Value is an invalid value for TextMarkdown when binding #13

Closed leo-mck closed 5 years ago

leo-mck commented 5 years ago

I have a simple string property Text on my VM and try to bind it to TextMarkdown like this:

<markDown:LabelMd TextMarkdown="{Binding Text}" BackgroundColor="Silver"/>

but this cause the error Value is an invalid value for TextMarkdown - is this a bug or have I missed something?

1iveowl commented 5 years ago

The XAML look good.

Is Text a Bindable Property?

Maybe Text starts out as beeing null, which triggers the Exception? Now that I think about it, this might be a bug, as null should be acceptable.

1iveowl commented 5 years ago

Fixed in release 1.0.5

1iveowl commented 5 years ago

The NuGet was a little delayed. It has been published now. Should be available in 5-15 minutes...