lint
This commit is contained in:
parent
eb84e5f348
commit
35386f60e0
@ -1,6 +1,7 @@
|
|||||||
@use 'common-mixins' as mixins;
|
@use 'common-mixins' as mixins;
|
||||||
|
|
||||||
form .iqser-input-group:not(first-of-type), iqser-dynamic-input:not(first-of-type) {
|
form .iqser-input-group:not(first-of-type),
|
||||||
|
iqser-dynamic-input:not(first-of-type) {
|
||||||
margin-top: 14px;
|
margin-top: 14px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -1,7 +1,6 @@
|
|||||||
<!--<div class="iqser-input-group" [ngClass]="classList" [class.datepicker-wrapper]="isDate">-->
|
<!--<div class="iqser-input-group" [ngClass]="classList" [class.datepicker-wrapper]="isDate">-->
|
||||||
<div class="iqser-input-group" [ngClass]="classList" [class.datepicker-wrapper]="isDate">
|
<div class="iqser-input-group" [ngClass]="classList" [class.datepicker-wrapper]="isDate">
|
||||||
|
<label> {{ label }} </label>
|
||||||
<label> {{label}} </label>
|
|
||||||
|
|
||||||
<ng-container *ngIf="isDate">
|
<ng-container *ngIf="isDate">
|
||||||
<input
|
<input
|
||||||
@ -28,12 +27,5 @@
|
|||||||
type="text"
|
type="text"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<input
|
<input *ngIf="isNumber" [(ngModel)]="input" (ngModelChange)="onChange($event)" [id]="id" [name]="name" type="number" />
|
||||||
*ngIf="isNumber"
|
|
||||||
[(ngModel)]="input"
|
|
||||||
(ngModelChange)="onChange($event)"
|
|
||||||
[id]="id"
|
|
||||||
[name]="name"
|
|
||||||
type="number"
|
|
||||||
/>
|
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -29,10 +29,9 @@ type DynamicInput = number | string | Date;
|
|||||||
multi: true,
|
multi: true,
|
||||||
useExisting: DynamicInputComponent,
|
useExisting: DynamicInputComponent,
|
||||||
},
|
},
|
||||||
]
|
],
|
||||||
})
|
})
|
||||||
export class DynamicInputComponent extends FormFieldComponent<DynamicInput> {
|
export class DynamicInputComponent extends FormFieldComponent<DynamicInput> {
|
||||||
|
|
||||||
@Input() label!: string;
|
@Input() label!: string;
|
||||||
|
|
||||||
@Input() type!: InputType;
|
@Input() type!: InputType;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user