File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
web-server-doc/web-server/scribblings Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -381,15 +381,17 @@ element of the sequence.
381381@defproc[(checkbox-group [l sequence?]
382382 [#:attributes attrs (any/c . -> . (listof (list/c symbol? string?))) (λ (x) empty)]
383383 [#:checked? checked? (any/c . -> . boolean?) (λ (x) #f )]
384- [#:display display (any/c . -> . xexpr/c) (λ (x) x)])
384+ [#:display display (any/c . -> . xexpr/c) (λ (x) x)]
385+ [#:wrap wrap (any/c any/c . -> . xexpr/c) (λ (x y) (list x y))])
385386 (formlet/c (listof any/c))]{
386387
387388 This @tech{formlet} renders using a sequence of INPUT elements of
388389CHECKBOX type where each element gets its attributes from
389390@racket[attrs] that share a single NAME. An element is checked if
390- @racket[checked?] returns @racket[#t ]. Elements are followed by the
391- results of @racket[display]. The result of processing this formlet is
392- a list of elements of the sequence.
391+ @racket[checked?] returns @racket[#t ]. Elements are combined with the
392+ results of @racket[display] into an X-expression specified in
393+ @racket[wrap]. The result of processing this formlet is a list of
394+ elements of the sequence.
393395}
394396
395397@defproc[(submit [value (or/c bytes? string?)]
You can’t perform that action at this time.
0 commit comments