mirror of
https://github.com/SuiteCRM/SuiteCRM-Core.git
synced 2025-09-02 08:09:19 +08:00
Fix #504 - Add support for required label to composite fields
This commit is contained in:
parent
b7ccfc8346
commit
e7b6af8cd7
1 changed files with 3 additions and 0 deletions
|
@ -41,6 +41,9 @@
|
|||
<span class="field-group-label pt-2 pr-1">
|
||||
<label *ngIf="attribute.labelKey && showLabel(attribute)">
|
||||
<scrm-label [labelKey]="attribute.labelKey" [module]="getModule()"></scrm-label>
|
||||
<ng-container *ngIf="attribute.definition.required && (['edit', 'create'].includes(mode))">
|
||||
<span class="required">*</span>
|
||||
</ng-container>
|
||||
</label>
|
||||
</span>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue