LaunchCodeLiftoffProjects / LaunchCodeLiftoffProjects/Collab-Blog

Validation for image upload disappears when fill the body input

Abierto
#67 0 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
TypeScript
Estrellas
8
Forks
20
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

**Describe the bug**
When creating a new blog the validators for required fields appear at the bottom of the page. They should disappear when the required fields are filled out. However, when you fill in the body input the validator for the image upload disappears.

**To Reproduce**
Steps to reproduce the behavior:
1. Go to 'Add new blog'
2. Fill in header subheader author and body
3. Scroll down to just above the submit buttons
4. See that the validator for the image has been hidden or disappeared even though no image was uploaded

**Expected behavior**
Image validation should disappear after image was uploaded.

**Screenshots**
Screen Shot 2022-05-06 at 6 34 04 PM
Screen Shot 2022-05-06 at 6 34 12 PM

**Desktop (please complete the following information):**
- OS: [macOS]
- Browser [e.g. chrome,]
- Version [Version 101.0.4951.54 ]

**Additional context**
Add any other context about the problem here.
This was noticed when testing the pull request that fixed "blog not submitting when tag field empty". This was I think an issue before that bug fix tho because no code for image upload was touched from viewing the edits

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

Comienza con el formulario «Add new blog» y reproduce el problema rellenando el encabezado, el subencabezado, el autor y el cuerpo sin subir una imagen. Sigue el comportamiento de la validación del formulario y verifica que el validador de imágenes siga visible hasta que se suba una imagen, incluido el flujo de validación existente de los campos obligatorios.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
typescript
Área
frontend, web-dev
Tipo de issue
Error
Dificultad
3/5
Tiempo estimado
1-2 días
Estado de actividad
Estancado
Claridad
Bastante claro
Aptitud para principiantes
48/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.