summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--formlets.rkt2
1 files changed, 1 insertions, 1 deletions
diff --git a/formlets.rkt b/formlets.rkt
index d0baffc..f3f9c96 100644
--- a/formlets.rkt
+++ b/formlets.rkt
@@ -57,7 +57,7 @@
(define number-input
(input #:type "number"
#:attributes
- `((class "form-control") [id ,(number->string id)] [step "1"] [placeholder ,profile])))
+ `((class "form-control") [id ,(number->string id)] [min "0"] [max "100"] [step "1"] [placeholder ,profile])))
(define input-label
`(label ((for ,(number->string id)
))
Copyright 2019--2026 Marius PETER