I'm using a modern number input control in one of my apps and noticed that if I change the number value of the control by entering in the number directly in it and then click on the save button, that the save button doesn't use the entered value. However the classic text control works differently. If I was to manually enter a number and click save, it uses the number that's entered. I created a test app with both controls on it and a save button for each. The save has a simple patch command that saves the data to the same list with one column each for the modern input and classic input.
The inputs are configured to show the first row of the list data as default values:
When I change the modern number control to 200 and click save modern:
When I change the classic number to 200 and click save classic:
I also notice that if I enter the number and hit the tab key to exit out of it or use the number increase/decrease controls on the modern control then it saves correctly. It just doesn't work if I manually enter and click save.
Anyone else notice this behaviour? Is there a way to make the modern control work the same way as classic?