NumberField in Vaadin 13 doesn't allow entry of decimal values

I’m not sure if this is by design but Vaadin 13’s NumberField does not allow entry of a decimal value such as 1.2. If you try, the field will automatically clip what you’ve entered to 1. Strangely, if you enter 1.00000000000 or 1…2222222 it is fine!

My code is no more complicated than:

new NumberField();

Is this a bug with the code that restricts numeric data entry?

Many thanks

Vaadin version: 13.04

Thanks for reporting this. I just verified by myself and I do believe it is a bug with the component.
I have created a ticket for it, which you can follow here

currently, if you want to allow decimal values, you can use numberField.setStep(0.01).