Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Dropdown with no text

I want to achieve this effect:
enter image description here

I want to have a dropdown arrow pointing downwards and empty space before it. I also want to have the options appearing exactly below as shown here.

So far I have tried this:

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

<div>
  <b-dropdown id="dropdown-right" text="&#160;&nbsp;" class="m-2">
    <b-dropdown-item>Phone Number</b-dropdown-item>
    <b-dropdown-item>Email</b-dropdown-item>
    <b-dropdown-item>DeviceToken</b-dropdown-item>
  </b-dropdown>
</div>

I have tried to fill it with empty spaces and the ASCI codes are   or  . Neither of those work.
This is visualized as this:
enter image description here

Please help I have spent couple of hours on this and I am stuck. I have also tried different bootstrap elements to no luck.

>Solution :

Inside text you can’t add ASCI Code. You can do like,

<div id="app">
  <b-dropdown id="dropdown-right" class="m-2 col-5">
    <b-dropdown-item>Phone Number</b-dropdown-item>
    <b-dropdown-item>Email</b-dropdown-item>
    <b-dropdown-item>DeviceToken</b-dropdown-item>
  </b-dropdown>
</div>

enter image description here

DEMO

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading