diff --git a/COMPONENT_INDEX.md b/COMPONENT_INDEX.md index 57db9c27dc..78306b8767 100644 --- a/COMPONENT_INDEX.md +++ b/COMPONENT_INDEX.md @@ -458,10 +458,10 @@ None. | :------------ | :------- | :--------------- | :------- | ----------------------------------------- | ------------------------------------------------ | ------------------------------------------------- | | 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 | +| indeterminate | No | let | Yes | boolean | false | Specify whether the checkbox is indeterminate | | group | No | let | Yes | ReadonlyArray | 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 | -| indeterminate | No | let | No | boolean | false | Specify whether the checkbox is indeterminate | | skeleton | No | let | No | boolean | false | Set to `true` to display the skeleton state | | required | No | let | No | boolean | false | Set to `true` to mark the field as required | | readonly | No | let | No | boolean | false | Set to `true` for the checkbox to be read-only | diff --git a/docs/src/COMPONENT_API.json b/docs/src/COMPONENT_API.json index bcf861efb2..0f8d88fd77 100644 --- a/docs/src/COMPONENT_API.json +++ b/docs/src/COMPONENT_API.json @@ -787,7 +787,7 @@ "isFunctionDeclaration": false, "isRequired": false, "constant": false, - "reactive": false + "reactive": true }, { "name": "skeleton", diff --git a/src/Checkbox/Checkbox.svelte b/src/Checkbox/Checkbox.svelte index 5dc43b19ee..7e134c7656 100644 --- a/src/Checkbox/Checkbox.svelte +++ b/src/Checkbox/Checkbox.svelte @@ -97,7 +97,7 @@ checked="{checked}" disabled="{disabled}" id="{id}" - indeterminate="{indeterminate}" + bind:indeterminate name="{name}" required="{required}" readonly="{readonly}"