Welcome to the Xamarin.Forms feedback portal. We’re happy you’re here! If you have feedback on how to improve the Xamarin.Forms, we’d love to hear it!

  • Check out the features or bugs others have reported and vote on your favorites. Feedback will be prioritized based on popularity.
  • If you have feedback that’s not listed yet, submit your own.

Thanks for joining our community and helping improve Syncfusion products!

1
Vote

Hi,


I have a problem when editing a numeric value using SfNumericTextBox.


First of all, my data model 'Article' has the following property:

Empty


UI

Empty


Style

Empty



Here a some scenarios:

1) Initial value of 'discount' is 0.
When I click in the SfNumericTextBox to change the value, I can only enter one digit. After that, the editing stop and the value can't be changed anymore by hitting a number on the keyboard.
When I move the cursor by using the 'left' arrow key on the keyboard (so that the cursor is in front of the single digit) or by clicking inside the control, I can continue editing.

2) Initial value of 'discount' is bigger than 0
When I click in the SfNumericTextBox to change the value, I can enter more than one digit and everything works as expected.

  • In scenario 1 (discount is 0) i can prevent the error when I remove  the line 'OnPropertyChanged(nameOf(Discount)' in the data model.

  • When I change the property 'ValueChangeMode' of SfNumericTextBox to 'OnLostFocus', everything works fine for both scenarios without any further changes. My problem then is that when I change the value of 'discount' and then directly click the 'save' button in my application, the property hasn't been changed yet (I have to leave the control, e. g. by using the TAB button).

On android everything works fine.