Skip to content

Commit

Permalink
Fixed #1256 - Chip - allow removable property while template is defined
Browse files Browse the repository at this point in the history
  • Loading branch information
cagataycivici committed May 18, 2021
1 parent 940d862 commit 97e0bbb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/chip/Chip.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
<img :src="image" v-if="image">
<span :class="iconClass" v-else-if="icon"></span>
<div class="p-chip-text" v-if="label">{{label}}</div>
<span v-if="removable" tabindex="0" :class="removeIconClass"
@click="close" @keydown.enter="close"></span>
</slot>
<span v-if="removable" tabindex="0" :class="removeIconClass"
@click="close" @keydown.enter="close"></span>
</div>
</template>

Expand Down

0 comments on commit 97e0bbb

Please sign in to comment.