LaunchCodeLiftoffProjects / LaunchCodeLiftoffProjects/Collab-Blog

Validation for image upload disappears when fill the body input

Offen
#67 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Vorherrschende Sprache
TypeScript
Sterne
8
Forks
20
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Rechercherichtung

Beginnen Sie mit dem Formular „Add new blog“ und reproduzieren Sie das Problem, indem Sie Header, Subheader, Autor und Text ausfüllen, ohne ein Bild hochzuladen. Verfolgen Sie das Verhalten der Formularvalidierung und überprüfen Sie, dass der Bildvalidator sichtbar bleibt, bis ein Bild hochgeladen wurde, einschließlich des bestehenden Validierungsablaufs für Pflichtfelder.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
typescript
Bereich
frontend, web-dev
Issue-Typ
Bug
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
48/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.