We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 923a776 commit 69f2e25Copy full SHA for 69f2e25
projects/element-ng/formly/wrapper/si-formly-wrapper.component.html
@@ -2,7 +2,10 @@
2
<div class="w-100" siFormlyFormFieldProvider [field]="field">
3
<ng-template #fieldComponent />
4
<div class="invalid-feedback" [class.d-block]="showError">
5
- <formly-validation-message [field]="field" />
+ <!-- This string is hard-coded in the bootstrap fields. -->
6
+ <!-- See https://github.com/ngx-formly/ngx-formly/blob/main/src/ui/bootstrap/input/src/input.type.ts -->
7
+ <!-- We should get rid of the bootstrap package, to make it rely on our si-form-item code. -->
8
+ <formly-validation-message [field]="field" [id]="field.id + '-formly-validation-error'" />
9
</div>
10
11
</si-form-item>
0 commit comments