Lib: Fix readonly + required in dropdown component by preventing keypress events

This commit is contained in:
2024-12-23 16:15:27 +01:00
parent 5cbbb89ee1
commit 88f3014238
+1 -1
View File
@@ -69,7 +69,7 @@
<input
use:popup={popup_settings}
type="text"
readonly
onkeypress={(event: Event) => event.preventDefault()}
value={get_label(input_variable) ?? placeholder}
{...restProps}
/>