LaunchCodeLiftoffProjects / LaunchCodeLiftoffProjects/Collab-Blog

Validation for image upload disappears when fill the body input

Aperta
#67 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
TypeScript
Stelle
8
Fork
20
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

**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

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Inizia dal modulo «Add new blog» e riproduci il problema compilando intestazione, sottotitolo, autore e corpo senza caricare un’immagine. Traccia il comportamento della convalida del modulo e verifica che il validatore dell’immagine rimanga visibile finché non viene caricata un’immagine, incluso il flusso di convalida esistente dei campi obbligatori.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
typescript
Ambito
frontend, web-dev
Tipo di issue
Bug
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
48/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.