LaunchCodeLiftoffProjects / LaunchCodeLiftoffProjects/Collab-Blog

Validation for image upload disappears when fill the body input

Đang mở
#67 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Ngôn ngữ chính
TypeScript
Star
8
Fork
20
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Hướng nghiên cứu

Bắt đầu từ biểu mẫu “Add new blog” và tái hiện vấn đề bằng cách điền header, subheader, tác giả và nội dung mà không tải ảnh lên. Theo dõi hành vi xác thực của biểu mẫu và kiểm tra rằng trình xác thực ảnh vẫn hiển thị cho đến khi một ảnh được tải lên, bao gồm cả luồng xác thực các trường bắt buộc hiện có.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
typescript
Lĩnh vực
frontend, web-dev
Loại issue
Lỗi
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
48/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.