diff --git a/taipy/gui/viselements.json b/taipy/gui/viselements.json
index 0e8fd1cda1..b0a9ceb4db 100644
--- a/taipy/gui/viselements.json
+++ b/taipy/gui/viselements.json
@@ -2079,7 +2079,7 @@
{
"name": "on_action",
"type": "Union[str, Callable]",
- "doc": "A function or the name of a function that is triggered when a specific key is pressed.
The callback function is invoked with the following parameters:
- state (
State^): the state instance. - id (str): the identifier of the control if it has one.
- payload (dict): the callback details
This dictionary has the following keys:- action: the name of the action that triggered this callback.
- args (list):
- [0]: The key name pressed.
- [1]: The variable name.
- [2]: The current value of the variable.
",
+ "doc": "A function or the name of a function that is triggered when a specific key is pressed.
The callback function is invoked with the following parameters:\n\n* *state* (`State^`): the state instance.\n* *id* (str): the identifier of the control if it has one.\n* *payload* (dict): the callback details\n This dictionary has the following keys:\n * *action*: the name of the action that triggered this callback.\n * *args* (list):\n * *[0]*: The key name pressed.\n * *[1]*: The variable name.\n * *[2]*: The current value of the variable.",
"signature": [
["state", "State"],
["id", "str"],