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

Commit c94f876

Browse files
author
Kamil Kisiela
committed
refactor(messages): remove showError
1 parent 32c6a04 commit c94f876

File tree

1 file changed

+2
-2
lines changed

1 file changed

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

0 commit comments

Comments
 (0)