palantir/blueprint

Add selectAllOnFocus prop to DateInput component

Open

#4.530 geöffnet am 17. Feb. 2021

Auf GitHub ansehen
 (0 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)TypeScript (2.167 Forks)batch import
P2Package: datetimeType: feature requesthelp wanted

Repository-Metriken

Stars
 (20.263 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 43T 10h) (27 gemergte PRs in 30 T)

Beschreibung

Environment

  • Package version(s): latest
  • Browser and OS versions: all

Feature request

The DateInput component has the missing ability to select all text inside text input. I found this behavior very usable. As i can see DateRangeInput has selectAllOnFocus prop, which i think must be presented and in DateInput too.

BTW. I don’t know but maybe it would be better to add prop which controls this behavior directly to InputGroup component

Contributor Guide