Closed jelhan closed 9 years ago
Boolean([]) === true therefore an empty errors array caused has-error class.
has-error
Run in this issue when using ember-cp-validations which provides an empty validations.attrs.<attribute-name>.messages array if model is valid.
ember-cp-validations
validations.attrs.<attribute-name>.messages
Boolean([]) === true therefore an empty errors array caused
has-error
class.Run in this issue when using
ember-cp-validations
which provides an emptyvalidations.attrs.<attribute-name>.messages
array if model is valid.