diff --git a/COMPONENT_INDEX.md b/COMPONENT_INDEX.md
index 60222ac0..72db9912 100644
--- a/COMPONENT_INDEX.md
+++ b/COMPONENT_INDEX.md
@@ -452,6 +452,7 @@ None.
| Prop name | Required | Kind | Reactive | Type | Default value | Description |
| :------------ | :------- | :--------------- | :------- | ----------------------------------------- | ------------------------------------------------ | ------------------------------------------------- |
| ref | No | let
| Yes | null | HTMLInputElement
| null
| Obtain a reference to the input HTML element |
+| title | No | let
| Yes | string
| undefined
| Specify the title attribute for the label element |
| group | No | let
| Yes | any[]
| undefined
| Specify the bound group |
| checked | No | let
| Yes | boolean
| false
| Specify whether the checkbox is checked |
| value | No | let
| No | any
| ""
| Specify the value of the checkbox |
@@ -463,7 +464,6 @@ None.
| labelText | No | let
| No | string
| ""
| Specify the label text |
| hideLabel | No | let
| No | boolean
| false
| Set to `true` to visually hide the label text |
| name | No | let
| No | string
| ""
| Set a name for the input element |
-| title | No | let
| No | string
| undefined
| Specify the title attribute for the label element |
| id | No | let
| No | string
| "ccs-" + Math.random().toString(36)
| Set an id for the input label |
### Slots
diff --git a/docs/src/COMPONENT_API.json b/docs/src/COMPONENT_API.json
index 2a5650e1..b06a2faa 100644
--- a/docs/src/COMPONENT_API.json
+++ b/docs/src/COMPONENT_API.json
@@ -866,7 +866,7 @@
"isFunctionDeclaration": false,
"isRequired": false,
"constant": false,
- "reactive": false
+ "reactive": true
},
{
"name": "id",
diff --git a/src/Checkbox/Checkbox.svelte b/src/Checkbox/Checkbox.svelte
index 41334148..1c7a2789 100644
--- a/src/Checkbox/Checkbox.svelte
+++ b/src/Checkbox/Checkbox.svelte
@@ -66,7 +66,7 @@
let refLabel = null;
$: isTruncated = refLabel?.offsetWidth < refLabel?.scrollWidth;
- $: title = isTruncated ? refLabel?.innerText : title;
+ $: title = !title && isTruncated ? refLabel?.innerText : title;