We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7b12d92 commit 6c889d4Copy full SHA for 6c889d4
src/components/ui/input.tsx
@@ -10,7 +10,7 @@ const inputVariants = cva(
10
'selection:bg-primary selection:text-primary-foreground',
11
'[&>input]:placeholder:text-muted-foreground',
12
'focus-within:border-ring focus-within:ring-[3px] focus-within:ring-ring/50',
13
- 'has-[[aria-invalid]]:border-destructive has-[[aria-invalid]]:ring-destructive/20 dark:has-[[aria-invalid]]:ring-destructive/40',
+ 'has-aria-invalid:border-destructive has-aria-invalid:ring-destructive/20 dark:has-aria-invalid:ring-destructive/40',
14
'[&>input]:disabled:opacity-50'
15
),
16
{
0 commit comments