mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-18 11:36:36 +00:00
Fix the data-invalid
attribute which fix the css.
This commit is contained in:
parent
3f2870da12
commit
b3ef8e3dda
1 changed files with 2 additions and 2 deletions
|
@ -191,8 +191,8 @@
|
||||||
type="number"
|
type="number"
|
||||||
pattern="[0-9]*"
|
pattern="[0-9]*"
|
||||||
aria-describedby="{errorId}"
|
aria-describedby="{errorId}"
|
||||||
data-invalid="{invalid || undefined}"
|
data-invalid="{invalid || error}"
|
||||||
aria-invalid="{invalid || undefined}"
|
aria-invalid="{invalid || error}"
|
||||||
aria-label="{label ? undefined : ariaLabel}"
|
aria-label="{label ? undefined : ariaLabel}"
|
||||||
disabled="{disabled}"
|
disabled="{disabled}"
|
||||||
id="{id}"
|
id="{id}"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue