Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 71531

Colored border with Formbuilder + ion-item?

$
0
0

@Zedaka wrote:

Hello folks,

Do you know how to activate colored border (and not only the underline when focus/error or whatever) when you use Formbuilder (see example below)

(For the first input I don't know if it's bug or not but it not display the underline). Like you see, I added in my SCSS these lines to make the border all around the item.

	ion-item {
		border: 1px solid #c8c7cc;
		margin-top : 20px;
		margin-bottom: 0px;
		border-radius : 4px;
		height : 55px;
		line-height: 55px;
	}

And here my form code :

<ion-list>
		<ion-item>
			<ion-input type="email" value="" placeholder="Nom d'utilisateur" name="username" formControlName="email"></ion-input>
		</ion-item>

        <ion-item>
			<ion-input type="password" value="" placeholder="Mot de passe" name="password" formControlName="password"></ion-input>
		</ion-item>
</ion-list>

Is it possible to do it or now ?

Thank's for your help or suggestion !

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 71531

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>