- Home
- Forum
- Xamarin.Forms
- How to put decimal numbers with dot in SFNumerixTextBox
How to put decimal numbers with dot in SFNumerixTextBox
I have a SfNumericTextBox in SfTextInoutLayout. The xaml code is as below and in that condition 0,85 is OK for input. But if I touch the dot, the app goes to crashed. How to prevent such a condition in that box. Thank in advance.
<inputLayout:SfTextInputLayout
Grid.Row="3"
Grid.Column="1"
Hint="Aylık Kredi Faizi"
Style="{StaticResource SfTextInputLayoutStyle}">
<numericBox:SfNumericTextBox
MaximumNumberDecimalDigits="2"
Style="{StaticResource SfNumericBoxStyle}"
PercentDisplayMode="Value"
Value="{Binding InterestRate}" />
</inputLayout:SfTextInputLayout>
- 3 Replies
- 2 Participants
-
SG Samet Girgin
- Jun 15, 2020 10:46 PM UTC
- Jun 18, 2020 12:03 PM UTC