Why is it base_html_input("text") and not base_html_input("number")?
I assume T may only be one that satisfies std::is_arithmetic, that is integral, unsigned and floating-point types. That maybe should be static_asserted and for those types an input of type="number" would be better than text would it not?
cppcms/form.h
Why is it
base_html_input("text")
and notbase_html_input("number")
?I assume
T
may only be one that satisfiesstd::is_arithmetic
, that is integral, unsigned and floating-point types. That maybe should bestatic_assert
ed and for those types an input oftype="number"
would be better thantext
would it not?