From 4386861357d34d1e98c9df07f6bccb99997fbddd Mon Sep 17 00:00:00 2001 From: Kirill Kuznetsov Date: Mon, 23 Oct 2023 23:39:51 +0300 Subject: [PATCH] Update docs --- docs/widgets/services/customapi.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/widgets/services/customapi.md b/docs/widgets/services/customapi.md index 85ff4fe7..2834ea28 100644 --- a/docs/widgets/services/customapi.md +++ b/docs/widgets/services/customapi.md @@ -31,9 +31,13 @@ widget: another: key3 label: Field 3 format: percent # optional - defaults to text + - field: key # needs to be YAML string or object + label: Field 4 + format: date # optional - defaults to text + dateStyle: long # optional - defaults to "long". Allowed values: `["full", "long", "medium", "short"]`. ``` -Supported formats for the values are `text`, `number`, `float`, `percent`, `bytes` and `bitrate`. +Supported formats for the values are `text`, `number`, `float`, `percent`, `bytes`, `bitrate` and `date`. ## Example