diff --git a/.changeset/swift-parents-type.md b/.changeset/swift-parents-type.md new file mode 100644 index 00000000000..abcae602f2e --- /dev/null +++ b/.changeset/swift-parents-type.md @@ -0,0 +1,5 @@ +--- +'@talend/design-system': patch +--- + +Design System - Fix on textarea not having color on error state diff --git a/packages/design-system/src/components/Form/Field/Textarea/Textarea.tsx b/packages/design-system/src/components/Form/Field/Textarea/Textarea.tsx index d7833f54a7d..243df84402a 100644 --- a/packages/design-system/src/components/Form/Field/Textarea/Textarea.tsx +++ b/packages/design-system/src/components/Form/Field/Textarea/Textarea.tsx @@ -1,11 +1,12 @@ import { forwardRef, Ref } from 'react'; + +import { useId } from '../../../../useId'; import { FieldPrimitive, FieldPropsPrimitive, TextareaPrimitive, TextareaPrimitiveProps, } from '../../Primitives'; -import { useId } from '../../../../useId'; export type InputTextareaProps = FieldPropsPrimitive & Omit & { children?: string }; @@ -46,6 +47,7 @@ const Textarea = forwardRef((props: InputTextareaProps, ref: Ref );