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

Commit

Permalink
Merge pull request #506 from metasfresh/dev-446
Browse files Browse the repository at this point in the history
#446 Do not display error msg when initial value in field
  • Loading branch information
damianprzygodzki committed Mar 7, 2017
2 parents 7d949ec + 1a4d93c commit a43b1e5
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 a43b1e5

Please sign in to comment.