Ion label underline disapear inside form


#1

hi,

  1. why does the ion label bottom border disapear? i want it to change color is input is wronge etc…why here it is not doing the line?
  2. is there a way other than grid to put the ion label and ion input in the same line?

thanks!

my code: (wrote with mistake at first like otherwise deletes my code)

"<ion-card *ngFor="let val of this.formAtt"



blablabla
<ion-input class=“underline” type=“text” [formControlName]=val>

        </ion-card-header>
        <ion-card-content>So much awesome content and animations. AMAZING!</ion-card-content>
    </ion-card>
</form>


#2

Post actual code not images and format them too please.


#3

whats the problem with image? it deletes half of my code if i write it here dont know why


#4

Someone trying to help you might want to copy your code and test it, if you don’t post code then it has to be typed again.


#5

ok sorry, ok.
i will try but it deletes part of my code, any reason?
look at the edit


#6

No probs!

I am not sure of what that exactly means, try it afresh let us see whats happening.


#7

hmm … that’s strange.


#8

ok i wrote the supp about it. thanks


#9

found the solution:

inside item-row must be ion item like this:
<#ion-row>
<#ion-item>
<#ion-label>blablabla
<#ion-input class=“underline” type=“text” [formControlName]=val>
<#/ion-item>
<#/ion-row>


#10

Whats with the ‘#’ signs??