【发布时间】:2021-03-21 12:52:25
【问题描述】:
下面是我的p-checkbox 代码:
<div class="col-sm-8">
<p-checkbox
[(ngModel)]="allowParticipation"
binary="true"
label="I need to add red asterisk sign after this Label"
</p-checkbox>
</div>
如何在标签后添加星号,使其如下所示
(复选框)我需要在这个标签后添加红色星号*
【问题讨论】:
-
如果可能的话,我可以得到 Stackblitz,非常感谢 :)
标签: html angular typescript primeng primeng-checkbox