I add an SFNumericTextBox with the following settings (CustomNumeric is just an abstraction with no modify, so is a SFNumericTextBox in fact):
CustomNumeric entry = new CustomNumeric
{
HorizontalOptions = LayoutOptions.CenterAndExpand,
VerticalOptions = LayoutOptions.CenterAndExpand,
WidthRequest = 250d,
IsEnabled = true,
MaximumNumberDecimalDigits = item.Type == EnumType.Integer ? 0 : 6,
TextAlignment = TextAlignment.Center
};
When I deploy my app, the control allow me to enter some commas until 3 when the app crush. Can you give me a solution for this?
Thanks in advance