Home > database >  How to add space in ionic select place holder which is having dynamic values
How to add space in ionic select place holder which is having dynamic values

Time:03-10

I want space In between flag And name which are dynamic values and I tried with   but nbsp printing in between them.How to add Space between them?

CodePudding user response:

You are definitely doing something wrong, probably not putting quotes around placeholder values, because

<ion-select placeholder="{{firstString}} {{secondString}}">

definitely displays a space between two strings: https://stackblitz.com/edit/ionic-angular-v5-ocsyqd

  • Related