palantir/blueprint

Add selectAllOnFocus prop to DateInput component

Open

#4.530 aberto em 17 de fev. de 2021

Ver no GitHub
 (0 comments) (0 reactions) (0 assignees)TypeScript (2.167 forks)batch import
P2Package: datetimeType: feature requesthelp wanted

Métricas do repositório

Stars
 (20.263 stars)
Métricas de merge de PR
 (Mesclagem média 43d 10h) (27 fundiu PRs em 30d)

Description

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

Guia do colaborador