palantir/blueprint

[EditableText] Add onEnter prop

Open

#4,426 创建于 2020年11月18日

在 GitHub 查看
 (3 评论) (0 反应) (0 负责人)TypeScript (20,263 star) (2,167 fork)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.

贡献者指南