palantir/blueprint

[EditableText] Add onEnter prop

Open

#4426 aperta il 18 nov 2020

Vedi su GitHub
 (3 commenti) (0 reazioni) (0 assegnatari)TypeScript (2167 fork)batch import
P2Package: corehelp wanted

Metriche repository

Star
 (20.263 star)
Metriche merge PR
 (Merge medio 43g 10h) (27 PR mergiate in 30 g)

Descrizione

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.

Guida contributor