Skip to content

DSW-3906: textarea-uncontrolled-usage integration - #549

Open
pie-design-system-app[bot] wants to merge 5 commits into
mainfrom
dsw-3906-textarea-uncontrolled-usage
Open

DSW-3906: textarea-uncontrolled-usage integration#549
pie-design-system-app[bot] wants to merge 5 commits into
mainfrom
dsw-3906-textarea-uncontrolled-usage

Conversation

@pie-design-system-app

@pie-design-system-app pie-design-system-app Bot commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

This PR introduces changes to the controlled and uncontrolled forms and account for presence of defaultValue in pie-textarea, in order to test the expected form behavior as defined in the related PIE PR.

  • When form is uncontrolled, the textarea renders with defaultValue and form resets to that value as expected.
  • When form is controlled, the textarea renders with provided value as expected - in these examples that is initialised to '', which is why we see a placeholder on first render.
  • For controlled forms, an onReset handler was added, ensuring the description state is properly updated on form reset. The handler sets the textarea value to the provided defaultValue when form resets. Without this, state was solely dependent on user input, so resetting the form left it stale - meaning defaultValue could not be submitted unless user typed in again.

pie-design-system-app Bot and others added 2 commits August 6, 2026 15:02
@KatarinaNeskovic
KatarinaNeskovic force-pushed the dsw-3906-textarea-uncontrolled-usage branch from 6eb2617 to 0228c2f Compare August 6, 2026 13:03
@github-actions
github-actions Bot temporarily deployed to nuxt-app-pr-549 August 6, 2026 13:06 Inactive
@github-actions
github-actions Bot temporarily deployed to vanilla-app-pr-549 August 6, 2026 13:06 Inactive
@github-actions
github-actions Bot temporarily deployed to vanilla-app-pr-549 August 6, 2026 15:11 Inactive
@github-actions
github-actions Bot temporarily deployed to nuxt-app-pr-549 August 6, 2026 15:11 Inactive
@KatarinaNeskovic
KatarinaNeskovic marked this pull request as ready for review August 6, 2026 15:24
@github-actions
github-actions Bot temporarily deployed to nuxt-app-pr-549 August 6, 2026 15:26 Inactive
@github-actions
github-actions Bot temporarily deployed to vanilla-app-pr-549 August 6, 2026 15:27 Inactive
@github-actions
github-actions Bot temporarily deployed to vanilla-app-pr-549 August 7, 2026 09:10 Inactive
@github-actions
github-actions Bot temporarily deployed to nuxt-app-pr-549 August 7, 2026 09:10 Inactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant