patternfly / patternfly/patternfly-react

Bug - [LoginForm] - `autoComplete` is not exposed and cannot be defined in the LoginForm.

未关闭 适合新手
#12,600 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

主要语言
TypeScript
星标
862
派生
392
平均合并
4 天 8 小时
30 天内合并 PR
9

描述

Describe the problem
Unable to define autoComplete on the LoginForm, as this value isn't exposed.

How do you reproduce the problem?
Examine the LoginForm source and confirm

Expected behavior
LoginForm should expose autoComplete (or inputProps) on its name and password TextInput. This would allow values such as autocomplete="current-password" or autocomplete="new-password" to be provided.

Is this issue blocking you?
No.

Screenshots
N/A

What is your environment?
N/A

What is your product and what release date are you targeting?

Any other information?


Jira Issue: PF-4510

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

首先检查 LoginForm 源代码以及 name 和 password 的 TextInput 使用方式。为这些输入暴露 autoComplete 或 inputProps,然后验证调用方可以提供 current-password 和 new-password 等值。

由索引模型根据 Issue 内容生成。

评估

技术栈
react, typescript
领域
authentication, frontend
Issue 类型
缺陷
难度
2/5
预计耗时
1-3 小时
活跃度
冷清
描述清晰度
基本清楚
新手友好度
68/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。