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

Using slots for options in ion-select

$
0
0

@guiskj wrote:

I am using stencil to create a component library for my job. I am using ionic as the baseline components.

When it came to create my drop-down component, I wrapped the ion-select component and added a default slot where the ion-select-options should go.

However, when I use my component with options in slot place, all I get is an empty popup.
If I replace the slot with the options, hard-coding them, everything works correctly.

select_component

select_use

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70432

Trending Articles



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