Fixed #1256 - Chip - allow removable property while template is defined
parent
940d86299c
commit
97e0bbbed8
|
@ -4,9 +4,9 @@
|
||||||
<img :src="image" v-if="image">
|
<img :src="image" v-if="image">
|
||||||
<span :class="iconClass" v-else-if="icon"></span>
|
<span :class="iconClass" v-else-if="icon"></span>
|
||||||
<div class="p-chip-text" v-if="label">{{label}}</div>
|
<div class="p-chip-text" v-if="label">{{label}}</div>
|
||||||
|
</slot>
|
||||||
<span v-if="removable" tabindex="0" :class="removeIconClass"
|
<span v-if="removable" tabindex="0" :class="removeIconClass"
|
||||||
@click="close" @keydown.enter="close"></span>
|
@click="close" @keydown.enter="close"></span>
|
||||||
</slot>
|
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue