Validation Problem in Item Variant Creation

When creating a variant from an item template, if I enter a value that is actually not valid, it still gets accepted. The increment is set to 1, but if I enter a value like 1.5, it still gets accepted.

I have another question: if I don’t fill in or select a value for an attribute, should it still be saved? If I remember correctly, it used to behave like this — if there was an attribute and no value was provided, it would prompt you to enter the attribute.

I’m using ERPNext 15.

Single Variant Creation Dialog:
Screenshot 2025-05-16 140554
Note the values I entered:
Screenshot 2025-05-16 141200
I get to this screen:


When I want to save:

This is too late for this prompt because I have to start over again — I can’t modify the values.