Index: openacs-4/packages/xowiki/tcl/form-field-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/xowiki/tcl/form-field-procs.tcl,v diff -u -r1.284.2.173 -r1.284.2.174 --- openacs-4/packages/xowiki/tcl/form-field-procs.tcl 16 Oct 2021 14:45:39 -0000 1.284.2.173 +++ openacs-4/packages/xowiki/tcl/form-field-procs.tcl 21 Oct 2021 08:54:23 -0000 1.284.2.174 @@ -2985,6 +2985,7 @@ {rows 2} {cols 80} {spell false} + {spellcheck:boolean true} {autosave:boolean false} {paste:boolean true} } @@ -3024,6 +3025,7 @@ :render_disabled_as_div textarea } else { set booleanAtts [:booleanAttributes {*}${:booleanHTMLAttributes}] + set spellcheck ${:spellcheck} if {${:autosave}} { ::html::div -class "autosave" { ::html::div -id ${:id}-status \ @@ -3034,7 +3036,7 @@ ::html::t "" ;#"no change" } ::html::textarea [:get_attributes id name cols rows style wrap placeholder \ - data-repeat-template-id {CSSclass class} \ + data-repeat-template-id {CSSclass class} spellcheck \ {*}$booleanAtts] { ::html::t [:value] } @@ -4586,6 +4588,7 @@ Class create text_fields -superclass {CompoundField ShuffleField} -parameter { {descriptions ""} {paste:boolean true} + {spellcheck:boolean true} {substvalues} } -ad_doc { @@ -4642,6 +4645,9 @@ if {!${:paste}} { dict set field_fc_dict paste false } + if {!${:spellcheck}} { + dict set field_fc_dict spellcheck false + } } number { set type numeric; dict set field_fc_dict keep_string_rep 1 } file_upload { set type file }