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

External validation errors are not shown instantly

Đang mở
#830 5 bình luận 3 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 the following setup:**
paper-form with paper-input elements. The errors property of the paper-input elements is set to model.validations.attrs.[field].messages. Validation is done with ember-cp-validations. This works fine so far with on exception: For one field the validation is done with the ds-error validator to validate error message from the server.

**This leads to the following problem:**
If I submit the form, the error message gets serialized correctly and even the paper-input method has the error property set BUT it is not shown, as the paper-input element is treated as untouched after submit. I have to first blur on the element to get the error message shown. I would expect this message to be visible instantly.

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

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

Đánh giá

Issue này chưa được đánh giá.

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.