Pārlūkot izejas kodu

Rephrase and reorganize viselements.json. (#2155)

Fabien Lelaquais 7 mēneši atpakaļ
vecāks
revīzija
f9b207fed0
1 mainītis faili ar 6 papildinājumiem un 7 dzēšanām
  1. 6 7
      taipy/gui/viselements.json

+ 6 - 7
taipy/gui/viselements.json

@@ -1731,13 +1731,6 @@
                         "type": "dynamic(list[str])",
                         "type": "dynamic(list[str])",
                         "doc": "The list of messages. Each item of this list must consist of a list of three strings: a message identifier, a message content, a user identifier, and an image URL."
                         "doc": "The list of messages. Each item of this list must consist of a list of three strings: a message identifier, a message content, a user identifier, and an image URL."
                     },
                     },
-                    {
-                        "name": "max_file_size",
-                        "type": "int",
-                        "default_value": "1 * 1024 * 1024 (1MB)",
-                        "doc": "The maximum file size can be uploaded to a chat message."
-
-                    },
                     {
                     {
                         "name": "users",
                         "name": "users",
                         "type": "dynamic(list[Union[str,Icon]])",
                         "type": "dynamic(list[Union[str,Icon]])",
@@ -1796,6 +1789,12 @@
                         "type": "str",
                         "type": "str",
                         "default_value": "\"markdown\"",
                         "default_value": "\"markdown\"",
                         "doc": "Define the way the messages are processed when they are displayed:\n<ul><li>&quot;raw&quot; no processing</li><li>&quot;pre&quot;: keeps spaces and new lines</li><li>&quot;markdown&quot; or &quot;md&quot;: basic support for Markdown.</li></ul>"
                         "doc": "Define the way the messages are processed when they are displayed:\n<ul><li>&quot;raw&quot; no processing</li><li>&quot;pre&quot;: keeps spaces and new lines</li><li>&quot;markdown&quot; or &quot;md&quot;: basic support for Markdown.</li></ul>"
+                    },
+                    {
+                        "name": "max_file_size",
+                        "type": "int",
+                        "default_value": "1024 * 1024",
+                        "doc": "The maximum allowable file size, in bytes, for files uploaded to a chat message.\nThe default is 1 MB."
                     }
                     }
                 ]
                 ]
             }
             }