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

貢獻者指南