From cb856ae014eb85b770430c66c1a156871658b4af Mon Sep 17 00:00:00 2001 From: Quentin Madura Date: Mon, 25 Oct 2021 12:20:36 +0200 Subject: [PATCH] =?UTF-8?q?Update=20Docs:=20Widgets=20=E2=80=9Clist?= =?UTF-8?q?=E2=80=9D=20(#5927)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- website/content/docs/widgets/list.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/website/content/docs/widgets/list.md b/website/content/docs/widgets/list.md index 7d0adf7a..aa1d89a1 100644 --- a/website/content/docs/widgets/list.md +++ b/website/content/docs/widgets/list.md @@ -23,7 +23,6 @@ The list widget allows you to create a repeatable item in the UI which saves as * `max`: maximum number of items in the list * `min`: minimum number of items in the list * `add_to_top`: when `true`, new entries will be added to the top of the list - * **Example** (`field`/`fields` not specified): ```yaml @@ -80,10 +79,10 @@ The list widget allows you to create a repeatable item in the UI which saves as - { label: "Source", name: "src", widget: "string" } - { label: "Alt Text", name: "alt", widget: "string" } default: - - { src: "/img/tenis.jpg", alt: "Tenis" } + - { src: "/img/tennis.jpg", alt: "Tennis" } - { src: "/img/footbar.jpg", alt: "Football" } ``` - + * **Example** (`collapsed` marked `false`): ```yaml @@ -126,4 +125,4 @@ The list widget allows you to create a repeatable item in the UI which saves as name: "tags" widget: "list" add_to_top: true -``` +``` \ No newline at end of file