palantir/blueprint

[EditableText] Add onEnter prop

开放

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

 (3 条评论) (0 个反应) (0 位负责人)TypeScript (2,167 个派生)batch import
P2Package: corehelp wanted

仓库指标

星标
 (20,263 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

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.

贡献者指南