Chip Input: Should split pasted text
- Lenguaje dominante
- TypeScript
- Estrellas
- 25k
- Forks
- 6.8k
- Merge medio
- 1 d 8 h
- PR fusionados (30 d)
- 91
Descripción
#### 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?
Guía de contribución
Línea de trabajo
Comienza con el ejemplo de entrada de chips de la demo de Angular Material y reproduce el pegado de `apple, banana, orange,`. Sigue cómo se gestiona el valor pegado cuando se pulsa Enter y verifica que el comportamiento completo produzca tres chips separados en lugar de uno.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- angular, typescript
- Área
- frontend
- Tipo de issue
- Error
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 35/100