Fixed #754 - CascadeSelect fails with Vue 3.0.3
parent
113c18fdec
commit
81d7ff18ee
|
@ -9,7 +9,7 @@
|
||||||
</template>
|
</template>
|
||||||
<span class="p-cascadeselect-group-icon pi pi-angle-right" v-if="isOptionGroup(option)"></span>
|
<span class="p-cascadeselect-group-icon pi pi-angle-right" v-if="isOptionGroup(option)"></span>
|
||||||
</div>
|
</div>
|
||||||
<cascade-select-sub v-if="isOptionGroup(option) && isOptionActive(option)" class="p-cascadeselect-sublist" :selectionPath="selectionPath" :options="getOptionGroupChildren(option)"
|
<cascadeselect-sub v-if="isOptionGroup(option) && isOptionActive(option)" class="p-cascadeselect-sublist" :selectionPath="selectionPath" :options="getOptionGroupChildren(option)"
|
||||||
:optionLabel="optionLabel" :optionValue="optionValue" :level="level + 1" @option-select="onOptionSelect" @optiongroup-select="onOptionGroupSelect"
|
:optionLabel="optionLabel" :optionValue="optionValue" :level="level + 1" @option-select="onOptionSelect" @optiongroup-select="onOptionGroupSelect"
|
||||||
:optionGroupLabel="optionGroupLabel" :optionGroupChildren="optionGroupChildren" :parentActive="isOptionActive(option)" :dirty="dirty" :templates="templates"/>
|
:optionGroupLabel="optionGroupLabel" :optionGroupChildren="optionGroupChildren" :parentActive="isOptionActive(option)" :dirty="dirty" :templates="templates"/>
|
||||||
</li>
|
</li>
|
||||||
|
@ -24,7 +24,7 @@ import Ripple from '../ripple/Ripple';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
emits: ['option-select','optiongroup-select'],
|
emits: ['option-select','optiongroup-select'],
|
||||||
name: 'cascade-select-sub',
|
name: 'cascadeselect-sub',
|
||||||
props: {
|
props: {
|
||||||
selectionPath: Array,
|
selectionPath: Array,
|
||||||
level: Number,
|
level: Number,
|
||||||
|
|
Loading…
Reference in New Issue