-
Notifications
You must be signed in to change notification settings - Fork 30.1k
Open
Labels
P3Issues that are less important to the Flutter projectIssues that are less important to the Flutter projecta: desktopRunning on desktopRunning on desktopc: new featureNothing broken; request for a new capabilityNothing broken; request for a new capabilitycustomer: fuchsiaframeworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.team-designOwned by Design Languages teamOwned by Design Languages teamtriaged-designTriaged by Design Languages teamTriaged by Design Languages team
Description
Internal: b/140828801
There are many use cases when it is desired to capture the actual key being pressed in a input widget.
A classic example is a "tag input" use case. You have a list of "tags/labels/chips" that is followed by a text input. When you add some text in and submit it, a new tag/label/chip is added. When you press backspace/delete and the text input is empty, then the most recent tag/label/chip should be removed.
We will need a "onKeyPress" callback so that we can know if the backspace/delete key was being pressed.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
P3Issues that are less important to the Flutter projectIssues that are less important to the Flutter projecta: desktopRunning on desktopRunning on desktopc: new featureNothing broken; request for a new capabilityNothing broken; request for a new capabilitycustomer: fuchsiaframeworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.team-designOwned by Design Languages teamOwned by Design Languages teamtriaged-designTriaged by Design Languages teamTriaged by Design Languages team