Skip to content

[BUG] - Textarea forgets its default state #5653

@juffalow

Description

@juffalow

HeroUI Version

2.8.3

Describe the bug

I have a form where I use Textarea component. When the form is submitted first time, the component immediately forgets its state and is cleared. If I submit again, it submits empty value. But if I hover above the component, the value is displayed and also submitted.

Your Example Website or App

No response

Steps to Reproduce the Bug or Issue

  1. Init form with empty value
  2. Submit form with some text

Expected behavior

Submitted value is displayed and set as default.

Screenshots or Videos

Zaznam.obrazovky.2025-09-01.o.13.14.41.mov

Operating System Version

macOS

Browser

Chrome

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions