Skip to content

Commit

Permalink
fix: setting modal extension form style
Browse files Browse the repository at this point in the history
  • Loading branch information
buqiyuan committed Aug 16, 2022
1 parent 9300649 commit 7831822
Showing 1 changed file with 16 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,30 +20,30 @@ import { debounceTime } from 'rxjs';
<!-- 二级说明 -->
<div
*ngIf="module.properties[field]?.type !== 'boolean' && module.properties[field]?.description"
class="description"
class="text-[12px] mb-[8px] text-gray-400"
>
<eo-shadow-dom [text]="module.properties[field]?.description || ''"></eo-shadow-dom>
{{ module.properties[field]?.description }}
</div>
<nz-form-control
i18n-nzErrorTip
nzErrorTip="Please Enter {{ module.properties[field]?.label }}"
class="form-control"
>
<!-- 字符串类型 -->
<ng-container *ngIf="module.properties[field]?.type === 'string'">
<input
type="text"
nz-input
id="{{ field }}"
[disabled]="module.properties[field]?.disabled"
i18n-placeholder
placeholder="{{
module.properties[field]?.placeholder ?? 'Please Enter ' + module.properties[field]?.label
}}"
formControlName="{{ field }}"
[(ngModel)]="model[field]"
/>
</ng-container>
<!-- <ng-container *ngIf="module.properties[field]?.type === 'string'"> -->
<input
type="text"
nz-input
id="{{ field }}"
[disabled]="module.properties[field]?.disabled"
i18n-placeholder
placeholder="{{
module.properties[field]?.placeholder ?? 'Please Enter ' + module.properties[field]?.label
}}"
formControlName="{{ field }}"
[(ngModel)]="model[field]"
/>
<!-- </ng-container> -->
<!-- 布尔类型 -->
<ng-container *ngIf="module.properties[field]?.type === 'boolean'">
Expand Down

0 comments on commit 7831822

Please sign in to comment.