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