palantir/blueprint

Add selectAllOnFocus prop to DateInput component

开放

#4,530 创建于 2021年2月17日

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

仓库指标

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

描述

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

贡献者指南