Updated TextInput.test; added forgotten files from previous

This commit is contained in:
Samuel Janda 2024-01-16 19:42:01 +11:00
commit a5c93a371d
3 changed files with 91 additions and 84 deletions

View file

@ -5,13 +5,13 @@
</script>
<TextInput
type="number"
labelText="User name"
placeholder="Enter user name..."
bind:value
on:input="{(e) => console.log(e.detail)}"
on:change="{(e) => (value = e.detail)}"
bind:value="{value}"
on:input="{(e) => console.log(e)}"
on:change="{(e) => (value = e)}"
on:paste="{(e) => console.log(e)}"
inputAttributes="{{ type: 'number' }}"
/>
<TextInput
@ -20,6 +20,13 @@
placeholder="Enter user name..."
/>
<TextInput
labelText="Username"
placeholder="Enter username..."
maxCount="{32}"
counter
/>
<TextInput hideLabel labelText="User name" placeholder="Enter user name..." />
<TextInput light labelText="User name" placeholder="Enter user name..." />