Timothy Jaeryang Baek 5 månader sedan
förälder
incheckning
430a79e177

+ 1 - 1
src/lib/components/admin/Settings/Interface.svelte

@@ -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')}
 							/>
 							/>

+ 1 - 1
src/lib/components/common/Textarea.svelte

@@ -10,7 +10,7 @@
 
 
 	$: if (textareaElement) {
 	$: if (textareaElement) {
 		if (textareaElement.innerText !== value && value !== '') {
 		if (textareaElement.innerText !== value && value !== '') {
-			textareaElement.innerText = value;
+			textareaElement.innerText = value ?? '';
 		}
 		}
 	}
 	}