Watermark causing crash on Android

Using Code below causes crash in Android if I just tap inside the textbox. it works fine using + -  buttons but trying to change the text onfocus causing crash

   <Style x:Key="NumericStyle" TargetType="numeric:SfNumericUpDown">
                <Setter Property="HorizontalOptions" Value="FillAndExpand"/>
                <Setter Property="VerticalOptions" Value="FillAndExpand"/>
                <Setter Property="TextColor" Value="Black"/>
                <Setter Property="ParsingMode" Value="Decimal"/>
                <Setter Property="Maximum" Value="500"/>
                <!--<Setter Property="FontSize" Value="Large"/>-->
                <Setter Property="SpinButtonAlignment" Value="Both"/>

            </Style>

<numeric:SfNumericUpDown MaximumDecimalDigits="0"  Watermark="0"  Style="{StaticResource NumericStyle}"  x:Name="ageNumericUpDown"
                              Value="{Binding Age}"  />

1 Reply

SK Selva Kumar  Veerakrishnan Syncfusion Team January 11, 2018 12:37 PM UTC

Hi Emil,

Thank you for contacting Syncfusion Support.

We could reproduce the issue “When setting Watermark to 0, crash occurs in Xamarin.Forms.Android platform”. This will be fixed in our upcoming 2018 Volume 1 release, which is expected to be rolled out by the mid of February.

Regards,

Selva Kumar V.


Loader.
Up arrow icon