0}
+ aria-invalid={error || hasError}
rows={3}
name={name}
disabled={disabled}
@@ -240,7 +242,7 @@ const Input = React.forwardRef((
placeholder={placeholderValue}
aria-label={ariaLabel}
aria-describedby={customInputLabel ? errorId : undefined}
- aria-invalid={error || hasError || limitExceeded > 0}
+ aria-invalid={error || hasError}
name={name}
disabled={disabled}
{...otherProps}
@@ -256,7 +258,7 @@ const Input = React.forwardRef((
{addon}
{/* Display custom or derived error messages */}
- {(customInputLabel || derivedErrorMessage) && (
+ {customInputLabel && (
-
{customInputLabel?.value || derivedErrorMessage}
+
{customInputLabel?.value}
)}