diff --git a/COMPONENT_INDEX.md b/COMPONENT_INDEX.md index 0b59bc73..f70be063 100644 --- a/COMPONENT_INDEX.md +++ b/COMPONENT_INDEX.md @@ -3242,6 +3242,7 @@ None. | noLabel | let | No | boolean | false | Set to `true` to not render a label | | labelText | let | No | string | "" | Specify the label text | | hideLabel | let | No | boolean | false | Set to `true` to visually hide the label text | +| required | let | No | boolean | false | Set to `true` to mark the field as required | ### Slots diff --git a/docs/src/COMPONENT_API.json b/docs/src/COMPONENT_API.json index 69c3bfac..32415d3d 100644 --- a/docs/src/COMPONENT_API.json +++ b/docs/src/COMPONENT_API.json @@ -9419,6 +9419,17 @@ "isFunctionDeclaration": false, "constant": false, "reactive": true + }, + { + "name": "required", + "kind": "let", + "description": "Set to `true` to mark the field as required", + "type": "boolean", + "value": "false", + "isFunction": false, + "isFunctionDeclaration": false, + "constant": false, + "reactive": false } ], "slots": [ diff --git a/docs/src/pages/framed/Breakpoint/Breakpoint.svelte b/docs/src/pages/framed/Breakpoint/Breakpoint.svelte index d47affd2..83116706 100644 --- a/docs/src/pages/framed/Breakpoint/Breakpoint.svelte +++ b/docs/src/pages/framed/Breakpoint/Breakpoint.svelte @@ -13,7 +13,7 @@
on:match
-  {JSON.stringify(events,null, 2)}
+  {JSON.stringify(events, null, 2)}