mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-18 11:36:36 +00:00
fix(text-input): add missing warning field wrapper class
This commit is contained in:
parent
97d3a9f653
commit
ff5921d31c
2 changed files with 7 additions and 2 deletions
|
@ -39,6 +39,10 @@ components: ["TextInput", "TextInputSkeleton"]
|
|||
|
||||
<TextInput invalid invalidText="User name is already taken. Please try another." labelText="User name" placeholder="Enter user name..." />
|
||||
|
||||
### Warning state
|
||||
|
||||
<TextInput warn warnText="Your user name is different from your log in ID." labelText="User name" placeholder="Enter user name..." />
|
||||
|
||||
### Disabled state
|
||||
|
||||
<TextInput disabled labelText="User name" placeholder="Enter user name..." />
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue