We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6532f90 commit a0bcf90Copy full SHA for a0bcf90
1 file changed
Tests/iaas/scs_0100_flavor_naming/flavor-form.py
@@ -126,7 +126,7 @@ def make_component_form(spec, component):
126
print(f'\t <label for="{fname}">{fdesc[2:]}:</label><br/>')
127
# FIXME: This is a hack: we hardcode step=2 or 0.5 knowing that RAM is the only float
128
step = 2 if value >= 10 else 0.5
129
- print(f'\t <input type="number" name="{path}" id="{fname}" min=0 step={step} value="{value}" size=5/>')
+ print(f'\t <input type="number" name="{path}" id="{fname}" min=0.5 step={step} value="{value}" size=5/>')
130
elif fdesc[0] == "#":
131
# Float number => NUMBER
132
if fdesc[1] == ".":
0 commit comments