palantir/blueprint

[EditableText] Add onEnter prop

オープン

#4,426 opened on 2020/11/18

 (3 件のコメント) (0 件のリアクション) (0 人の担当者)TypeScript (2,167 件のフォーク)batch import
P2Package: corehelp wanted

Repository metrics

Stars
 (20,263 個のスター)
PR merge metrics
 (平均マージ 43d 10h) (30d で 27 merged PRs)

説明

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.

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