jammerware / strength-in-numbers

0 stars 0 forks source link

Encapsulate "button click on enter" behavior #15

Closed jammerware closed 6 years ago

jammerware commented 6 years ago

Currently, text fields that should cause an associated button to be clicked when the user presses enter are individually wired up in each component. I think it's possible to encapsulate this in some kind of HOC that wraps the text field.

Current places where this is manually wired:

jammerware commented 6 years ago

Tracked in new repo here