Skip to content

Add Character Limit Validation & UI Feedback to File Description Input #1036

@srijnabhargav

Description

@srijnabhargav

As an Embedded Chat developer

I need to: Add a character limit to the file description input field and visually notify the user when the limit is exceeded.

So That: Users clearly understand when their description is too long, preventing upload errors and improving the overall user experience.

Acceptance Criteria

  • A maximum character limit (e.g., 5000 characters) is applied to the file description field.

  • A warning message appears below the description input when the limit is exceeded.

  • The input field border and text color change to a destructive/error state when over the limit.

  • The “Send” button becomes disabled when the description exceeds the limit.

  • File upload submission is blocked in submit() if the description is over the limit.

CURRENT BEHAVIOUR

before.mp4

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions