File tree 2 files changed +22
-2
lines changed
2 files changed +22
-2
lines changed Original file line number Diff line number Diff line change 9
9
:options =" options"
10
10
:errors =" errors"
11
11
:event-bus =" eventBus" >
12
+ <template
13
+ slot="group-legend"
14
+ slot-scope="{ group, groupLegend }">
15
+ <slot
16
+ name =" group-legend"
17
+ :group =" group"
18
+ :group-legend =" groupLegend" >
19
+ <legend v-if =" groupLegend" ><span v-html =" groupLegend" ></span ></legend >
20
+ </slot >
21
+ </template >
12
22
<template
13
23
slot="group-help"
14
24
slot-scope="{ group }">
Original file line number Diff line number Diff line change 3
3
:is =" tag"
4
4
:class =" [groupRowClasses, validationClass]"
5
5
ref =" group" >
6
-
7
- <legend v-if =" groupLegend" >{{ groupLegend }}</legend >
6
+ <slot
7
+ name =" group-legend"
8
+ :group =" group"
9
+ :group-legend =" groupLegend" ></slot >
8
10
<slot
9
11
name =" group-help"
10
12
:group =" group" ></slot >
19
21
:errors =" errors"
20
22
:event-bus =" eventBus"
21
23
:key =" index" >
24
+ <template
25
+ slot="group-legend"
26
+ slot-scope="slotProps">
27
+ <slot
28
+ name =" group-legend"
29
+ :group =" slotProps.group"
30
+ :group-legend =" slotProps.groupLegend" ></slot >
31
+ </template >
22
32
<template
23
33
slot="group-help"
24
34
slot-scope="slotProps">
You can’t perform that action at this time.
0 commit comments