Please add an additional SHtml.number method to support floating point number. #1143

Closed
wants to merge 1 commit into from

3 participants

@indrajitr
Lift Web Framework member

From the method signature, it does not look like SHtml.number method
supports floating point number. But Html5 input type "number" does
support floating point numbers when you set the "step" attribute (of
input) to a floating point (for example 0.1).

Please add an additional SHtml.number method to support floating point number.

@fmpwizard fmpwizard was assigned Jun 17, 2012
@fmpwizard fmpwizard * fixes 1143 - Please add an additional SHtml.number method to suppor…
…t floating point number.

* Added spec test for it too, now that we can use MockWeb for testin the SHtml object
f8e0ae3
@fmpwizard
Lift Web Framework member

Rebased into master

@fmpwizard fmpwizard closed this Jun 25, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment