Blueprint: [EditableText] Add onEnter prop

Created on 18 Nov 2020  路  2Comments  路  Source: palantir/blueprint

Environment

  • __Package version(s)__: 3.35.0
  • __Browser and OS versions__: Any

Feature request

Add an onEnter callback to EditableText or extend the onConfirm callback with information on what triggered the confirm (enter or blur).

Examples

I'm using the EditableText on todo's. When the user hits enter I want to start another todo, but not when blurred.

P2 core help wanted

Most helpful comment

Hi I made a PR for this issue!

All 2 comments

or extend the onConfirm callback with information on what triggered the confirm (enter or blur).

I'd prefer this approach. Open to PRs

Hi I made a PR for this issue!

Was this page helpful?
0 / 5 - 0 ratings