Skip to content

Commit 55a9e11

Browse files
committed
improve form element type drop down
1 parent 09aa23b commit 55a9e11

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tools/clog-builder-settings.lisp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -481,13 +481,14 @@
481481
(declare (ignore td1))
482482
(let ((dd (create-select td2))
483483
(v (string-downcase (attribute control "type"))))
484-
(add-select-options dd `(,v
485-
"button" "checkbox" "color" "date"
484+
(add-select-options dd '("button" "checkbox" "color" "date"
486485
"datetime" "datetime-local" "email"
487486
"image" "file" "hidden"
488487
"month" "number" "password" "radio"
489488
"range" "reset" "search" "submit"
490489
"tel" "text" "time" "url" "week"))
490+
(set-geometry dd :width "100%")
491+
(setf (value dd) v)
491492
(set-on-change dd (lambda (obj)
492493
(declare (ignore obj))
493494
(setf (attribute control "type") (value dd))

0 commit comments

Comments
 (0)