Chip Input: Should split pasted text
- Ngôn ngữ chính
- TypeScript
- Star
- 25k
- Fork
- 6.8k
- Merge trung bình
- 1 ngày 8 giờ
- Pull request đã merge (30 ngày)
- 91
Mô tả
#### Bug, feature request, or proposal:
Bug
#### What is the expected behavior?
Pasting the text: `apple, banana, orange,` into a [chip input](https://material.angular.io/components/chips/overview#chip-input) should result in three different chips.
#### What is the current behavior?
Produces a single chip with all three items.
#### What are the steps to reproduce?
1. Copy the text: `apple, banana, orange,`
1. Paste it into the example input on the Angular Material chip [input demo site](https://material.angular.io/components/chips/overview#chip-input)
1. Press `Enter`
1. There *should* be three chips (right now, only there is only one)
#### What is the use-case or motivation for changing an existing behavior?
Allow inputting data via copy/paste.
#### Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Angular Material 6.2.1
#### Is there anything else we should know?
Hướng dẫn đóng góp
Hướng nghiên cứu
Bắt đầu với ví dụ chip input trong bản demo chip input của Angular Material và tái hiện việc dán `apple, banana, orange,`. Theo dõi cách giá trị được dán được xử lý khi nhấn Enter, đồng thời xác minh rằng hành vi hoàn chỉnh tạo ra ba chip riêng biệt thay vì một chip.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- angular, typescript
- Lĩnh vực
- frontend
- Loại issue
- Lỗi
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 35/100