Selaa lähdekoodia

Move theme toggling description to toggle viselement (#2378)

Co-authored-by: Fred Lefévère-Laoide <90181748+FredLL-Avaiga@users.noreply.github.com>
Zaccheus 4 kuukautta sitten
vanhempi
säilyke
1431bb3cb3
1 muutettua tiedostoa jossa 3 lisäystä ja 2 poistoa
  1. 3 2
      taipy/gui/viselements.json

+ 3 - 2
taipy/gui/viselements.json

@@ -285,7 +285,8 @@
                 ],
                 ],
                 "properties": [
                 "properties": [
                     {
                     {
-                        "name": "value"
+                        "name": "value",
+                        "doc": "Bound to the selection value.<br/>If this is used for theme toggling, it must be a Boolean value: True indicates that the current theme is set to \"dark\", while False indicates that the theme is set to \"light\"."
                     },
                     },
                     {
                     {
                         "name": "theme",
                         "name": "theme",
@@ -2149,7 +2150,7 @@
                         "name": "value",
                         "name": "value",
                         "default_property": true,
                         "default_property": true,
                         "type": "dynamic(Any)",
                         "type": "dynamic(Any)",
-                        "doc": "Bound to the selection value.<br/>If this is used for theme toggling, it must be a Boolean value: True indicates that the current theme is set to \"dark\", while False indicates that the theme is set to \"light\"."
+                        "doc": "Bound to the selection value."
                     },
                     },
                     {
                     {
                         "name": "lov",
                         "name": "lov",