Answers for "how to make select button in ionic"

3

ionic select

<ion-list>
  <ion-list-header>
    <ion-label>
      Single Selection
    </ion-label>
  </ion-list-header>

  <ion-item>
    <ion-label>Gender</ion-label>
    <ion-select placeholder="Select One">
      <ion-select-option value="f">Female</ion-select-option>
      <ion-select-option value="m">Male</ion-select-option>
    </ion-select>
  </ion-item>

  <ion-item>
    <ion-label>Hair Color</ion-label>
    <ion-select value="brown" okText="Okay" cancelText="Dismiss">
      <ion-select-option value="brown">Brown</ion-select-option>
      <ion-select-option value="blonde">Blonde</ion-select-option>
      <ion-select-option value="black">Black</ion-select-option>
      <ion-select-option value="red">Red</ion-select-option>
    </ion-select>
  </ion-item>

</ion-list>
Posted by: Guest on May-11-2020
2

ionic select

<ion-select placeholder="Select One">
  	<ion-select-option value="f">Female</ion-select-option>
	<ion-select-option value="m">Male</ion-select-option>
</ion-select>
Posted by: Guest on December-08-2020

Code answers related to "how to make select button in ionic"

Browse Popular Code Answers by Language