ionic-team / ionic-team/ionic-framework
feat: textarea should have autocomplete and autocorrect props
- 主要语言
- TypeScript
- 星标
- 52.7k
- 派生
- 13.3k
- 平均合并
- 1 天 14 小时
- 30 天内合并 PR
- 50
描述
### Prerequisites
- [X] I have read the [Contributing Guidelines](https://github.com/ionic-team/ionic-framework/blob/main/.github/CONTRIBUTING.md#creating-an-issue).
- [X] I agree to follow the [Code of Conduct](https://ionicframework.com/code-of-conduct).
- [X] I have searched for [existing issues](https://github.com/ionic-team/ionic-framework/issues) that already include this feature request, without success.
### Describe the Feature Request
Add `autocomplete` and `autocorrect` properties to `ion-textarea`.
### Describe the Use Case
Input has autocomplete and autocorrect props, but Textarea does not. Both props are available on native `` elements, so we should add the props too.
### Describe Preferred Solution
_No response_
### Describe Alternatives
_No response_
### Related Code
_No response_
### Additional Information
_No response_
贡献指南
调研方向
首先定位 ion-textarea 组件 API,并将其与原生 元素进行比较;issue 将该元素确定为所需行为的来源。确认 ion-input 如何公开其 autocomplete 和 autocorrect 属性,然后为 textarea 添加等效支持,并验证两个 prop 都能被接受且一致地传递。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- typescript
- 领域
- frontend
- Issue 类型
- 功能
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 45/100