Skip to content
This repository has been archived by the owner on Dec 13, 2020. It is now read-only.

Commit

Permalink
#446 Do not display error msg when initial value in field
Browse files Browse the repository at this point in the history
  • Loading branch information
damianprzygodzki committed Mar 7, 2017
1 parent 7d949ec commit 1a4d93c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/components/widget/RawWidget.js
Original file line number Diff line number Diff line change
Expand Up @@ -671,7 +671,11 @@ class RawWidget extends Component {
transitionEnterTimeout={200}
transitionLeaveTimeout={200}
>
{(errorPopup && validStatus && !validStatus.valid) &&
{(
errorPopup && validStatus &&
!validStatus.valid &&
!validStatus.initialValue
) &&
this.renderErrorPopup(validStatus.reason)
}
</ReactCSSTransitionGroup>
Expand Down

0 comments on commit 1a4d93c

Please sign in to comment.