File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed
web-server-lib/web-server/formlets Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change 130130 #:kind kind
131131 #:attributes [attrs (λ (x) empty)]
132132 #:checked? [checked? (λ (x) #f )]
133- #:display [display (λ (x) x)]
133+ #:display [display (λ (x) x)]
134134 #:wrap [wrap (λ (x y) (list x y))])
135135 (define value->element (make-hasheq))
136136 (define i 0 )
174174(define (radio-group l
175175 #:attributes [attrs (λ (x) empty)]
176176 #:checked? [checked? (λ (x) #f )]
177- #:display [display (λ (x) x)])
177+ #:display [display (λ (x) x)]
178+ #:wrap [wrap (λ (x y) (list x y))])
178179 (input-group l
179180 #:kind "radio "
180181 #:attributes attrs
181182 #:checked? checked?
182- #:display display))
183+ #:display display
184+ #:wrap wrap))
183185
184186(define (checkbox-group l
185187 #:attributes [attrs (λ (x) empty)]
354356 (#:attributes
355357 (-> any/c (listof (list/c symbol? string?)))
356358 #:checked? (any/c . -> . boolean?)
357- #:display (any/c . -> . pretty-xexpr/c))
359+ #:display (any/c . -> . pretty-xexpr/c)
360+ #:wrap (any/c any/c . -> . pretty-xexpr/c))
358361 . ->* .
359362 (formlet/c any/c))]
360363 [checkbox-group ((sequence?)
You can’t perform that action at this time.
0 commit comments