Skip to content

Commit 0bd47f0

Browse files
committed
Added disabled input search
1 parent 4f92cd7 commit 0bd47f0

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "vue3-hive-ui-kit",
33
"private": false,
4-
"version": "0.7.27",
4+
"version": "0.7.28",
55
"type": "module",
66
"description": "UI kit for Vue 3",
77
"files": [

src/components/hive-input-search/hive-input-search.vue

+3
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,11 @@ export interface Props extends CommonProps {
2424
placeholder?: string;
2525
label?: string;
2626
timeout?: number;
27+
disabled?: boolean;
2728
}
2829
const props = withDefaults(defineProps<Props>(), {
2930
timeout: 250,
31+
disabled: false,
3032
});
3133
3234
type Emit = Event & Mount & Unmount & Update<string> & Focusin & Focusout & Keydown & Input<string>;
@@ -78,6 +80,7 @@ const handleInput = () => {
7880
id="input"
7981
:placeholder="placeholder"
8082
@input="handleInput"
83+
:disabled="disabled"
8184
/>
8285
</div>
8386
</template>

0 commit comments

Comments
 (0)