[Custom Components] Multiple component schema info showing more than one component rather than allowing an array of values to be captured.
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 35/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Estancado
- Stack tecnológico
- angular, typescript
- Área
- frontend
Línea de trabajo
Empieza por el registro del componente personalizado y su esquema JSON; después, reproduce el componente select con multiple habilitado. Comprueba cómo afecta la opción multiple del esquema al renderizado y a la validación de valores; se considera terminado cuando los valores seleccionados se capturan como un solo array sin renderizar varias instancias del componente.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Hello ,
The "multiple":true is acting like I wanted multiple of that component in one space rather than If this component should allow an array of values to be captured.
Wanting to make a custom multiple select component , When I add in the "multiple":true into the object for the component it gets rendered out as :

Yet without it I am getting an error that says the component can not be an array:

In the custom component I have the the multiple option in select set to true , so the component returns the items selected as an array.
This is the custom component I am calling :
Json part :

Registering it :

Note: the comment out schema acts like the "multiple":true, in the Json.
I believe I left something out in registering it but I can not figure out what. I say that because the same behavior is seen when the "multiple":true is added to other components that normally do not return an array.
- Lenguaje dominante
- TypeScript
- Estrellas
- 706
- Forks
- 493
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Sin guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de formio/angular
-
[Question] Angular 22 Update?Abiertoquestion
Dificultad 3/5 1-2 días Aptitud para principiantes 55/100
-
[BUG] <form-builder> move icon is missingQuizá libre de nuevo @PrathameshHegde la tomó hace 99 días y no hay ningún pull request abierto. Abiertobug
-
[Question] Version 10.0Abiertoquestion
Dificultad 2/5 1-3 horas Aptitud para principiantes 25/100
-
[BUG] "Left (Right-aligned)" label position causes misaligned error messages and descriptionsQuizá libre de nuevo @Victoriya25 la tomó hace 363 días y no hay ningún pull request abierto. Abiertobug
-
question
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
Todos los issues de formio/angular
Issues similares
-
bot:ai-assisted component:platform-js status:untriaged
Dificultad 1/5 Menos de una hora Aptitud para principiantes 74/100
midnightntwrk/platform-js#38 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
ranxianglei/billion-context#7068 ·
Los mantenedores suelen responder en 1 día
-
vendor: bump whisper.cpp past 6a8addd — the current pin aborts the app on a failed Metal initAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
mybigday/whisper.rn#348 ·
-
enhancement severity:low
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Battle-Cattle/BCUK-Bot-4#1075 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 67/100
ilan-pinto/roaring-lions#1552 ·
Los mantenedores suelen responder en 1 día