Fixed #117 - ProgressBar showValue prop is ignored

pull/132/head
cagataycivici 2019-12-20 17:19:14 +03:00
parent 6c6b982623
commit e4f747f2b0
1 changed files with 1 additions and 1 deletions

View File

@ -1,7 +1,7 @@
<template> <template>
<div role="progressbar" :class="containerClass" :aria-valuemin="0" :aria-valuenow="value" :aria-valuemax="100"> <div role="progressbar" :class="containerClass" :aria-valuemin="0" :aria-valuenow="value" :aria-valuemax="100">
<div v-if="determinate" class="p-progressbar-value p-progressbar-value-animate" :style="progressStyle"></div> <div v-if="determinate" class="p-progressbar-value p-progressbar-value-animate" :style="progressStyle"></div>
<div v-if="determinate && value" class="p-progressbar-label">{{value + '%'}}</div> <div v-if="determinate && value && showValue" class="p-progressbar-label">{{value + '%'}}</div>
<div v-if="indeterminate" class="p-progressbar-indeterminate-container"> <div v-if="indeterminate" class="p-progressbar-indeterminate-container">
<div class="p-progressbar-value p-progressbar-value-animate"></div> <div class="p-progressbar-value p-progressbar-value-animate"></div>
</div> </div>