Skip to content

Commit 40d8f93

Browse files
fix: Don’t hide the required asterisk in the label (#7652)
1 parent ccfb98a commit 40d8f93

File tree

1 file changed

+8
-10
lines changed

1 file changed

+8
-10
lines changed

panel/src/components/Text/Label.vue

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,14 @@
1212
<span v-else class="k-label-text">
1313
<slot />
1414
</span>
15-
<template v-if="input !== false">
16-
<abbr v-if="required" :title="$t(type + '.required')">✶</abbr>
17-
<abbr
18-
:title="$t(type + '.invalid')"
19-
data-theme="negative"
20-
class="k-label-invalid"
21-
>
22-
&times;
23-
</abbr>
24-
</template>
15+
<abbr v-if="required" :title="$t(type + '.required')">✶</abbr>
16+
<abbr
17+
:title="$t(type + '.invalid')"
18+
data-theme="negative"
19+
class="k-label-invalid"
20+
>
21+
&times;
22+
</abbr>
2523
</component>
2624
</template>
2725

0 commit comments

Comments
 (0)