Skip to content

DropdownMenuFormField does not reset when calling FormState.reset #174578

@Velkamhell97

Description

@Velkamhell97

Steps to reproduce

The new DropdownMenuFormField does not reset its value like other FormField widgets when FormState.reset is invoked.

Expected results

The DropdownMenuFormField should reset its value, just like a TextFormField does.

Actual results

The DropdownMenuFormField retains its value after FormState.reset is called.

Code sample

You can check out this dartpad:

https://dartpad.dev/?id=ca0e76d6b65ece8922aad012bd135793

Screenshots or Video

Logs

No response

Flutter Doctor output

[√] Flutter (Channel stable, 3.35.1, on Microsoft Windows [Versi¢n 10.0.26100.4946], locale es-MX)
[√] Windows Version (Windows 11 or higher, 24H2, 2009)
[√] Android toolchain - develop for Android devices (Android SDK version 36.0.0)
[√] Chrome - develop for the web
[√] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.14.11)
[√] Android Studio (version 2025.1.2)
[√] VS Code (version 1.103.2)
[√] Connected device (4 available)
[√] Network resources

Metadata

Metadata

Assignees

Labels

P2Important issues not at the top of the work listf: material designflutter/packages/flutter/material repository.found in release: 3.35Found to occur in 3.35found in release: 3.36Found to occur in 3.36frameworkflutter/packages/flutter repository. See also f: labels.has reproducible stepsThe issue has been confirmed reproducible and is ready to work onr: fixedIssue is closed as already fixed in a newer versionteam-designOwned by Design Languages teamtriaged-designTriaged by Design Languages team

Type

No type

Projects

Status

Done (PR merged)

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions