mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-21 12:49:20 +00:00
test(text-input): assert value type
This commit is contained in:
parent
01054c4065
commit
bf918d38ab
1 changed files with 8 additions and 1 deletions
|
@ -1,8 +1,15 @@
|
|||
<script lang="ts">
|
||||
import { TextInput, TextInputSkeleton } from "../types";
|
||||
|
||||
let value = null;
|
||||
</script>
|
||||
|
||||
<TextInput labelText="User name" placeholder="Enter user name..." />
|
||||
<TextInput
|
||||
type="number"
|
||||
labelText="User name"
|
||||
placeholder="Enter user name..."
|
||||
bind:value
|
||||
/>
|
||||
|
||||
<TextInput
|
||||
labelText="User name"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue