Tags Input + Improved Date Input
This commit is contained in:
parent
85f86a36e8
commit
2b5a19fdd6
3 changed files with 79 additions and 10 deletions
src/lib/ListTextInput
16
src/lib/ListTextInput/NewListTextInput.svelte
Normal file
16
src/lib/ListTextInput/NewListTextInput.svelte
Normal file
|
@ -0,0 +1,16 @@
|
|||
<script lang="ts">
|
||||
export let id: string;
|
||||
export let value: string;
|
||||
|
||||
const handleClick = () => {
|
||||
value = "";
|
||||
}
|
||||
</script>
|
||||
|
||||
<button {id} class="letterInput" on:click={handleClick}>+</button>
|
||||
|
||||
<style>
|
||||
.letterInput {
|
||||
padding-left: 1ch;
|
||||
}
|
||||
</style>
|
Reference in a new issue