> One idea that comes to mind is to let the text box be normal and under a “text changed” condition you can check what was typed and limit it to numbers or numbers with decimals. Actually you could use float() with this too.
textbox: on text changed
> compare: len(textbox.text)>0
> — textbox: set text to float(self.text)
thanks for that hint. This could be a way.
But I do not understand why the "Number" type does not support it from scratch?
It's html, shouldn't be a big deal at all?
Thanks a lot!
In Html, it's as simple as
<input type="number" name="Whatever" step="0.01">, where step is the number you want or step="any"
Maybe you might want to ask for this as a feature request.