Fix behavior, in case a default value was provided for a checkbox part of a compound field. When the user resets this default (i.e. clears t…
Show more
Fix behavior, in case a default value was provided for a checkbox part of a compound field.When the user resets this default (i.e. clears the checkmark) no data istransmitted from the browser, but the client side has to handle this. Such cases wereso far only handled so far outside of compound fields.Example as give my Michael Aram (many thanks!): # Class create mycompound -superclass CompoundField # # mycompound instproc initialize {} { # if {${:__state} ne "after_specs"} return # :create_components [subst { # {start_on_publish {checkbox,default=t,options={YES t}}} # {whatever {text}} # }] # set :__initialized 1 # }
Show less