Skip to content
This repository was archived by the owner on Jan 22, 2018. It is now read-only.

Commit 3edd5b0

Browse files
author
Kamil Kisiela
committed
Implement showError in Messages wrapper
1 parent ac42fb7 commit 3edd5b0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<formly-transclude></formly-transclude>
2-
<div ng-messages="fc.$error" ng-show="showError">
2+
<div ng-messages="fc.$error">
33
<div ng-repeat="(name, message) in ::options.validation.messages"
4+
ng-if="showError"
45
ng-message={{::name}}>{{message(fc.$viewValue, fc.$modelValue, this)}}
56
</div>
67
</div>

0 commit comments

Comments
 (0)