-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Closed
Labels
package: vue@ionic/vue package@ionic/vue package
Description
Bug Report
Ionic version:
[x] 5.x
Ionic Vue version:
0.4.0
Current behavior:
Ionic components rely upon Slot attributes which is deprecated in V3 in favor of the v-slot template directive.
Expected behavior:
Compliance with V3
Steps to reproduce:
Using for example the Ionic-Range, there is no way to position the label using the new v-slot directive
Related code:
In the example below, the "start" label will not show using the V3 v-slot directive; Using the slot attribute for the "end" label does show as expected, albeit using a deprecated approach
<ion-range min="-200" max="200" color="secondary" v-model="range">
<template v-slot:start>
<ion-label>{{range}}</ion-label>
</template>
<ion-label slot="end">{{range}}</ion-label>
</ion-range>
Metadata
Metadata
Assignees
Labels
package: vue@ionic/vue package@ionic/vue package