mirror of
https://github.com/rabbibotton/clog.git
synced 2025-12-06 02:30:42 -08:00
spell check optional on input-dialog
This commit is contained in:
parent
897b3d0a66
commit
0055961425
2 changed files with 5 additions and 1 deletions
|
|
@ -1921,6 +1921,7 @@ alert-dialog blocks till time-out reached or OK clicked."
|
|||
(placeholder-value "")
|
||||
(default-value "")
|
||||
is-password
|
||||
(spell-check t)
|
||||
(left nil) (top nil)
|
||||
(width 300) (height 200)
|
||||
(client-movement nil)
|
||||
|
|
@ -1986,6 +1987,8 @@ result of on-input."
|
|||
(setf (visiblep win) t)
|
||||
(when modal
|
||||
(window-make-modal win))
|
||||
(unless spell-check
|
||||
(setf (spellcheckp input) nil))
|
||||
(focus input)
|
||||
(set-on-click cancel (lambda (obj)
|
||||
(declare (ignore obj))
|
||||
|
|
|
|||
|
|
@ -17,12 +17,13 @@
|
|||
(set-on-double-click td2 (lambda (obj)
|
||||
(let ((*default-title-class* *builder-title-class*)
|
||||
(*default-border-class* *builder-border-class*))
|
||||
(input-dialog obj "Enter slots:"
|
||||
(input-dialog obj "Enter slots - for example: (myvar :accessor myvar)"
|
||||
(lambda (result)
|
||||
(when result
|
||||
(setf (attribute control "data-custom-slots") result)
|
||||
(setf (text td2) result)))
|
||||
:default-value (attribute control "data-custom-slots")
|
||||
:spell-check nil
|
||||
:width 800
|
||||
:height 420
|
||||
:size 80
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue