adopted-ember-addons / adopted-ember-addons/ember-paper

Trigger paper-input validations

Đang mở
#840 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
JavaScript
Star
879
Fork
327
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

I have a modal which consists of several parts (it's basically a multi-step form). There's a **Next** button to advance. However, I don't want users to advance without correctly filling all fields in whatever step they are. Each `paper-input` in the form has a validation. My idea is to check the validity of all paper inputs once the user clicks on `Next`. Is it possible to somehow trigger those validations?

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

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

Hướng nghiên cứu

No file or test is named. Start by locating the paper-input validation implementation and the multi-step form's Next-button flow described in the issue, then determine the supported behavior for triggering validation; done should mean advancement is blocked when fields in the current step are invalid.

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

Đánh giá

Công nghệ
javascript
Lĩnh vực
frontend
Loại issue
Tính năng
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Cần làm rõ
Mức phù hợp với người mới
25/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.