diff --git a/src/services/ui/src/components/Inputs/textarea.tsx b/src/services/ui/src/components/Inputs/textarea.tsx index e49c6161d3..2c262e4b5e 100644 --- a/src/services/ui/src/components/Inputs/textarea.tsx +++ b/src/services/ui/src/components/Inputs/textarea.tsx @@ -3,19 +3,37 @@ import * as React from "react"; import { cn } from "@/lib/utils"; export interface TextareaProps - extends React.TextareaHTMLAttributes {} + extends React.TextareaHTMLAttributes { + charcount?: "simple" | "limited"; + charcountstyling?: string; +} const Textarea = React.forwardRef( ({ className, ...props }, ref) => { + const strLn = (typeof props?.value === "string" && props.value.length) || 0; return ( -