updating the select example to not printf
This commit is contained in:
parent
8397c4bece
commit
e804a8c52b
|
@ -17,11 +17,10 @@
|
||||||
(span (@ (id "fill-me-in")))))))
|
(span (@ (id "fill-me-in")))))))
|
||||||
|
|
||||||
(define (when-select-changed w v)
|
(define (when-select-changed w v)
|
||||||
(printf "I see: ~s\n" (view-form-value (view-focus v "my-select")))
|
|
||||||
(view-form-value (view-focus v "my-select")))
|
(view-form-value (view-focus v "my-select")))
|
||||||
|
|
||||||
(define bound-view (view-bind-many view ["my-select" "change" when-select-changed]))
|
(define bound-view (view-bind-many view ["my-select" "change" when-select-changed]))
|
||||||
|
|
||||||
(big-bang "nothing yet"
|
(big-bang "nothing yet"
|
||||||
(initial-view bound-view)
|
(initial-view bound-view)
|
||||||
(to-draw draw))
|
(to-draw draw))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user