fix: fixes from review

This commit is contained in:
Arman committed 2023-08-07 20:37:50 +02:00
1 parent ae33ba1b0c
commit e719ea8161
2 files changed
+6 -2

No files matched your search

@@ -83,7 +83,11 @@
value = option.value;
search = option.label;
// It's not working without this line.
$$slots.output ? (search = '') : (element.value = search);
if ($$slots.output) {
search = '';
} else {
element.value = search;
}
hasFocus = false;
dispatch('select', option);
}
+1 -1
View File
@@ -61,7 +61,7 @@
{label}
</Label>
<div class="input-text-wrapper" on:click on:keydown={clickOnEnter}>
<div class="input-text-wrapper" on:click on:keyup={clickOnEnter}>
<textarea
{id}
{placeholder}