palantir/blueprint

Switch from inputRef to ref for Inputs

Open

#4,763 创建于 2021年6月14日

在 GitHub 查看
 (1 评论) (2 反应) (0 负责人)TypeScript (20,263 star) (2,167 fork)batch import
P2Package: coreStatus: to triageType: breaking changeType: enhancementhelp wanted

描述

Environment

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

Feature request

Blueprint v4 is switching elementRef to the "simpler, more straightforward" ref for non input elements. Can we also do the same for inputs that use inputRef. This would help with consistency of the library. Also for a less important reason, the massively popular React Hook Form is difficult to use if inputs do not have ref point to the actual input ref.

贡献者指南