Skip to content
This repository was archived by the owner on Nov 21, 2024. It is now read-only.

Commit d07adf5

Browse files
committed
fix(srcgen): Update html for "web-grid" scaffold script
1 parent 79ee0cc commit d07adf5

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

srcgen/web-grid/%libs.platformFolder%/src/grids/%grid.list.name.kebab%-grid/%grid.name.kebab%-select-input/%grid.name.kebab%-select-input.component.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
<label *ngIf="title" [ngClass]="labelClass" [attr.for]="'input'+name">{{title | translate}}</label>
33
<div [ngClass]="{'input-group':!readonly && !select}" class="{{inputFrameClass}}" [containerClass]="errorMessage?'error-tooltip':'success-tooltip'"
44
[tooltip]="tooltipText" placement="{{tooltipPlacement}}" triggers="{{tooltipTriggers}}" [isDisabled]="!tooltipEnable" #tooltip="bs-tooltip">
5-
<input *ngIf="statusListMessage" value="{{statusListMessage | translate}}" [ngClass]="inputClass" disabled/>
6-
<input *ngIf="!statusListMessage && !select" [(ngModel)]="value && value.asString" [ngClass]="inputClass" #inputElement disabled/>
5+
<input *ngIf="statusListMessage" value="{{statusListMessage | translate}}" [ngClass]="inputClass" readonly/>
6+
<input *ngIf="!statusListMessage && !select" [(ngModel)]="value && value.asString" [ngClass]="inputClass" #inputElement readonly/>
77
<select-input *ngIf="!statusListMessage && select && items && items.length>0" [(model)]="value" [title]="title" titleField="asSelectOptionHtml"
8-
inputTitleField="asString" [readonly]="readonly" [items]="items" [inFormGroup]="false" [width]="width" #inputElement></select-input>
8+
inputTitleField="asString" [readonly]="readonly" [inputReadonly]="inputReadonly" [name]="name" [items]="items" [inFormGroup]="false" [width]="width" #inputElement></select-input>
99
<span class="input-group-btn" *ngIf="!readonly && !select">
1010
<button class="btn btn-success" type="button" (click)="onLookup()" tooltip="{{lookupTooltip}}" placement="left" container="body">
1111
<span [ngClass]="[lookupIcon]"></span>

0 commit comments

Comments
 (0)