# Can i remove the helperText depending on conditions?

**URL:** <https://forum.ionicframework.com/t/can-i-remove-the-helpertext-depending-on-conditions/244812>\
**Category:** Ionic Angular\
**Created:** [October 22, 2024, 2:07pm UTC](https://forum.ionicframework.com/t/can-i-remove-the-helpertext-depending-on-conditions/244812 "2024-10-22T14:07:26Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![GerLC](https://avatars.discourse-cdn.com/v4/letter/g/919ad9/32.png) [@GerLC](https://forum.ionicframework.com/u/GerLC)\
**Post date:** [October 22, 2024, 2:07pm UTC](https://forum.ionicframework.com/t/can-i-remove-the-helpertext-depending-on-conditions/244812/1 "2024-10-22T14:07:26Z")

</div>

Hello,

I have an issue with the helperText and also errorText, currently i have in a ion-input the following:

```auto
                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:

```auto
               [helperText]="isEditMode ? 'label1' : ''"

```

But i can’t seem to be able to add the translations {{ ‘modal.label2’ | translate}}.
