adopted-ember-addons / adopted-ember-addons/ember-cp-validations
if two models have two attributes with the same name, how can we get from the error validations object the modelName info for each attribute?
未关闭
- 主要语言
- JavaScript
- 星标
- 439
- 派生
- 172
- PR 合并指标
- 30 天内没有已合并 PR
描述
### Environment
- Ember CLI Version: 2.11.1
- Ember CP Validations Version: 3.3.2
### Steps to Reproduce
I have two models with *has-many* relationship, and both models have attributes with the same name (ex:- "title") .. when I get the "validation.errors" I get an array which contains two validation objects for both "title" of the first model and "title" of the second model .. **the question is how can I get the modelName where each one of the "title"s belong to?**
贡献指南
评估
这个 Issue 还没有评估数据。