Skip to content
This repository has been archived by the owner on Jan 9, 2023. It is now read-only.

Commit

Permalink
Fixed date validation
Browse files Browse the repository at this point in the history
  • Loading branch information
jkleinsc committed May 5, 2015
1 parent a1ea82c commit 21dc442
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/components/date-picker.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ export default Ember.Forms.FormInputComponent.extend({
if (Ember.isEmpty(this.get('currentDisplayDate'))) {
Ember.Binding.from("model." + displayPropertyName).to('currentDisplayDate').connect(this);
}

Ember.Binding.from('model.errors.'+dateProperty).to('model.errors.'+displayPropertyName).connect(this);
this.set('doingSetup', false);
}.on('init'),

Expand Down

0 comments on commit 21dc442

Please sign in to comment.