refac
This commit is contained in:
1 parent
9b25efc3bb
commit
430a79e177
2 files changed
+2
-2
No files matched your search
@@ -163,7 +163,7 @@
|
|||||||
placement="top-start"
|
placement="top-start"
|
||||||
>
|
>
|
||||||
<input
|
<input
|
||||||
class="w-full outline-none"
|
class="w-full outline-none bg-transparent"
|
||||||
bind:value={taskConfig.AUTOCOMPLETE_GENERATION_INPUT_MAX_LENGTH}
|
bind:value={taskConfig.AUTOCOMPLETE_GENERATION_INPUT_MAX_LENGTH}
|
||||||
placeholder={$i18n.t('-1 for no limit, or a positive integer for a specific limit')}
|
placeholder={$i18n.t('-1 for no limit, or a positive integer for a specific limit')}
|
||||||
/>
|
/>
|
||||||
|
|||||||
@@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
$: if (textareaElement) {
|
$: if (textareaElement) {
|
||||||
if (textareaElement.innerText !== value && value !== '') {
|
if (textareaElement.innerText !== value && value !== '') {
|
||||||
textareaElement.innerText = value;
|
textareaElement.innerText = value ?? '';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user