It would be really nice when writing a custom validator to be able to refer to other fields in the validation object. Currently for this level of validation, I have to write code when the field changes to do validation in my component and then use 'changeset.addError' which isn't working as expected. issue 651 ember-changeset
It would be really nice when writing a custom validator to be able to refer to other fields in the validation object. Currently for this level of validation, I have to write code when the field changes to do validation in my component and then use 'changeset.addError' which isn't working as expected. issue 651 ember-changeset
for example:
complexField might validate on the value of 'fieldA' and/or 'fieldB'. For example: