palantir/blueprint

[EditableText] Add onEnter prop

Open

#4,426 opened on 2020年11月18日

GitHub で見る
 (3 comments) (0 reactions) (0 assignees)TypeScript (20,263 stars) (2,167 forks)batch import
P2Package: corehelp wanted

説明

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.

コントリビューターガイド

[EditableText] Add onEnter prop · palantir/blueprint#4426 | Good First Issue