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