Hello,
I have an issue with the helperText and also errorText, currently i have in a ion-input the following:
errorText="{{
'modal.label'
| translate
}}"
helperText="{{
'modal.label2'
| translate
}}"
Where I use translations from @ngx-translate/core, but in this page I have a boolean variable called isEditMode. Is there a way to remove the helper and error Text in case the isEditMode is true?
I tried doing something like:
[helperText]="isEditMode ? 'label1' : ''"
But i can’t seem to be able to add the translations {{ ‘modal.label2’ | translate}}.
1 post - 1 participant