Changes between Version 144 and Version 145 of TaggingPresets


Ignore:
Timestamp:
2018-08-07T20:19:52+02:00 (4 months ago)
Author:
Klumbumbus
Comment:

fix default value, see #16580

Legend:

Unmodified
Added
Removed
Modified
  • TaggingPresets

    v144 v145  
    101101  Used in <combo> and <multiselect>. More information see `short_descriptions`. The attributes are `value`, `display_value`, `short_description`, `icon` and `icon_size`.
    102102 <check>::
    103   A checkbox which the user can only select or deselect (or set as unset). The `key` attribute is mandatory. `text`, `default`, `match`, `value_on` , `value_off` and `disable_off` are optional.
     103  A checkbox which the user can select, deselect or set as unset. The `key` attribute is mandatory. `text`, `default`, `match`, `value_on` , `value_off` and `disable_off` are optional.
    104104[[BR]]
    105105==== Templates ====
     
    129129 default="default_value"::
    130130  An explicitly declared default value for the item. This value is ''only'' applied through a preset when the object the preset is applied to has ''zero keys''.
    131   If a value for default is not given, different implied default values apply depending upon the type:
    132   * <check> (whether a checkbox is ticked on or off by default): implied default is "off"
    133   * <text>, <combo>, <multiselect>: implied default is ""
     131  If no value for default is specified, no value is set to the key. Used in <check>, <text>, <combo> and <multiselect>.
    134132 values="entry1,entry2,entry3"::
    135133  A list of entries (for the <combo> box and <multiselect>). The list has to be separated by commas (for the combo box) or by the specified delimiter (for the multiselect). If a value contains the delimiter, the delimiter may be escaped with a backslash. If a value contains a backslash, it must also be escaped with a backslash.