Skip to content

web: have text fields trigger "onsubmitted" ONLY for enter key on  #55042

@jdeltoft

Description

@jdeltoft

#35435 (comment)

I often find myself hitting enter for a text field to make it "go" on the PC/web site. I would love if I could trigger onFieldSubmitted for flutter web ONLY for the enter key. Today per the above issue thread you see that any focus change will trigger the onFieldSubmitted() callback.

Metadata

Metadata

Assignees

Labels

a: desktopRunning on desktopa: text inputEntering text in a text field or keyboard related problemsassigned for triageissue is assigned to a domain expert for further triagec: new featureNothing broken; request for a new capabilityc: proposalA detailed proposal for a change to Fluttercustomer: web10f: material designflutter/packages/flutter/material repository.frameworkflutter/packages/flutter repository. See also f: labels.platform-webWeb applications specifically

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions