-
Notifications
You must be signed in to change notification settings - Fork 29.8k
Closed
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work listc: new featureNothing broken; request for a new capabilityNothing broken; request for a new capabilityc: proposalA detailed proposal for a change to FlutterA detailed proposal for a change to Flutterf: material designflutter/packages/flutter/material repository.flutter/packages/flutter/material repository.r: fixedIssue is closed as already fixed in a newer versionIssue is closed as already fixed in a newer versionteam-designOwned by Design Languages teamOwned by Design Languages teamtriaged-designTriaged by Design Languages teamTriaged by Design Languages team
Description
Use case
DropdownButton is replaced by DropdownMenu with Material 3. DropdownButtonFormField should be replaced by a DropdownMenuFormField widget, but this one does not exists yet. It could be super useful to handle validator on DropdownMenu thanks to a FormField-dedicated widget.
Proposal
This should be a part of Flutter (as previous mentioned widgets). I tried to implement myself this new widget, but I figured out that there is too many obscure things I don't understand yet. Please find attached a very basic implementation, with a simple use
case (validator works, but there is a bug with the value not being changed).
PabloPadilla5, Nenuphar12, EnduringBeta, bismarabia, Zudah228 and 26 moremartinralfreindl, rabismail, Zudah228, merry-martin and malbolgedmartinralfreindl, rabismail, Nenuphar12, savrin-sharif and malbolged
Metadata
Metadata
Assignees
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work listc: new featureNothing broken; request for a new capabilityNothing broken; request for a new capabilityc: proposalA detailed proposal for a change to FlutterA detailed proposal for a change to Flutterf: material designflutter/packages/flutter/material repository.flutter/packages/flutter/material repository.r: fixedIssue is closed as already fixed in a newer versionIssue is closed as already fixed in a newer versionteam-designOwned by Design Languages teamOwned by Design Languages teamtriaged-designTriaged by Design Languages teamTriaged by Design Languages team
Type
Projects
Status
Done (PR merged)