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

How to show array items as checkbox values in alercontroller

$
0
0

@salad-gg wrote:

I have this lines of code, the first input works fine (auto populate field with label). As for the checkbox, I want it to open array of labels from which I will be able to check. But all I see now is one checkbox with no label.

        {
          name: "seats",
          value: this.selectedSeatObjects.map(st => st.label)
        },
        {
          type: "checkbox",
          value: this.selectedSeatObjects.map(st => st.label),
          checked: true
        }

bugy

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70435

Trending Articles



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