ionic-team / ionic-team/ionic-framework

feat: add support for chips in input

未关闭
#18,460 5 条评论 11 个 reaction 已指派 0 人 在 GitHub 查看
package: core type: feature request
主要语言
TypeScript
星标
52.7k
派生
13.3k
平均合并
1 天 14 小时
30 天内合并 PR
50

描述

# Feature Request

**Ionic version:**

[x] **4.x**

**Describe the Feature Request**
Support grouping of chips - input type specifically.

Screen Shot 2019-06-04 at 10 36 49 AM

**Describe Preferred Solution**
I need to look into the best way to handle this. I think we may need to add an `ion-chip-group` similar to how radio works.

Usage - https://material.io/design/components/chips.html#usage
MD implementation - https://github.com/material-components/material-components-web/tree/master/packages/mdc-chips#adding-chips-to-the-dom
MD demo - https://material-components.github.io/material-components-web-catalog/#/component/chips

**Describe Alternatives**

**Related Code**

**Additional Context**

贡献指南

打开贡献指南

调研方向

首先检查现有的 chip 和 radio 组件模式,然后将提议的 ion-chip-group 行为与链接的 Material Design 参考资料进行比较。在确定实现文件和测试之前,先定义分组 API 和 input-chip 交互要求;当分组的 input-chip 按照规范工作并有测试覆盖时,即视为完成。

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

评估

技术栈
typescript
领域
frontend
Issue 类型
功能
难度
5/5
预计耗时
一周以上
活跃度
停滞
描述清晰度
需要澄清
新手友好度
25/100

把新 issue 发到你的邮箱

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