diff --git a/COMPONENT_INDEX.md b/COMPONENT_INDEX.md
index 58506edc..c042d60d 100644
--- a/COMPONENT_INDEX.md
+++ b/COMPONENT_INDEX.md
@@ -3163,8 +3163,8 @@ None.
| Prop name | Kind | Reactive | Type | Default value | Description |
| :------------------- | :--------------- | :------- | :--------------------------------------------------- | ------------------------------------------------ | ------------------------------------------------------- |
| ref | let | Yes | null | HTMLInputElement | null | Obtain a reference to the input HTML element |
-| value | let | Yes | string | "" | Specify the value of the search input |
| expanded | let | Yes | boolean | false | Set to `true to expand the search input |
+| value | let | Yes | any | "" | Specify the value of the search input |
| small | let | No | boolean | false | -- |
| size | let | No | "sm" | "lg" | "xl" | "xl" | Specify the size of the search input |
| searchClass | let | No | string | "" | Specify the class name passed to the outer div element |
@@ -3172,7 +3172,6 @@ None.
| light | let | No | boolean | false | Set to `true` to enable the light variant |
| disabled | let | No | boolean | false | Set to `true` to disable the search input |
| expandable | let | No | boolean | false | Set to `true` to enable the expandable variant |
-| type | let | No | string | "text" | Specify the `type` attribute of the search input |
| placeholder | let | No | string | "Search..." | Specify the `placeholder` attribute of the search input |
| autocomplete | let | No | "on" | "off" | "off" | Specify the `autocomplete` attribute |
| autofocus | let | No | boolean | false | Set to `true` to auto focus the search element |
diff --git a/docs/src/COMPONENT_API.json b/docs/src/COMPONENT_API.json
index 800f489e..a5cc26ef 100644
--- a/docs/src/COMPONENT_API.json
+++ b/docs/src/COMPONENT_API.json
@@ -9115,6 +9115,17 @@
"moduleName": "Search",
"filePath": "src/Search/Search.svelte",
"props": [
+ {
+ "name": "value",
+ "kind": "let",
+ "description": "Specify the value of the search input",
+ "type": "any",
+ "value": "\"\"",
+ "isFunction": false,
+ "isFunctionDeclaration": false,
+ "constant": false,
+ "reactive": true
+ },
{
"name": "small",
"kind": "let",
@@ -9202,28 +9213,6 @@
"constant": false,
"reactive": true
},
- {
- "name": "value",
- "kind": "let",
- "description": "Specify the value of the search input",
- "type": "string",
- "value": "\"\"",
- "isFunction": false,
- "isFunctionDeclaration": false,
- "constant": false,
- "reactive": true
- },
- {
- "name": "type",
- "kind": "let",
- "description": "Specify the `type` attribute of the search input",
- "type": "string",
- "value": "\"text\"",
- "isFunction": false,
- "isFunctionDeclaration": false,
- "constant": false,
- "reactive": false
- },
{
"name": "placeholder",
"kind": "let",
diff --git a/src/Search/Search.svelte b/src/Search/Search.svelte
index 0658f266..b073377c 100644
--- a/src/Search/Search.svelte
+++ b/src/Search/Search.svelte
@@ -4,6 +4,12 @@
* @event {null} collapse
*/
+ /**
+ * Specify the value of the search input
+ * @type {any}
+ */
+ export let value = "";
+
/**
* @deprecated this prop will be removed in the next major release
* Use size="sm" instead
@@ -34,12 +40,6 @@
/** Set to `true to expand the search input */
export let expanded = false;
- /** Specify the value of the search input */
- export let value = "";
-
- /** Specify the `type` attribute of the search input */
- export let type = "text";
-
/** Specify the `placeholder` attribute of the search input */
export let placeholder = "Search...";
@@ -125,6 +125,8 @@