Auto-Focus New Elements in List Input (Tags)
This commit is contained in:
parent
cce3338dc9
commit
87d703abe4
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@
|
|||
}
|
||||
</script>
|
||||
|
||||
<input id="tag-{id}" type="text" class="letterInput" style="--valuelen: {width}ch" bind:value={value}>
|
||||
<input id="tag-{id}" type="text" class="letterInput" style="--valuelen: {width}ch" bind:value={value} autofocus>
|
||||
<button on:click|preventDefault={handleClick}>X</button>
|
||||
|
||||
<style>
|
||||
|
|
Reference in a new issue