feat: enhance input component layout with labels and improve styling
This commit is contained in:
@@ -1,7 +1,3 @@
|
||||
<label [for]="id" class="input-label">
|
||||
<ng-content />
|
||||
</label>
|
||||
|
||||
<div
|
||||
class="input-control"
|
||||
[ngClass]="{
|
||||
@@ -20,8 +16,8 @@
|
||||
|
||||
<input
|
||||
#inputElement
|
||||
[id]="id"
|
||||
[name]="id"
|
||||
[id]="id()"
|
||||
[name]="id()"
|
||||
[type]="inputType()"
|
||||
[ngClass]="inputClasses()"
|
||||
[disabled]="isInputDisabled()"
|
||||
|
||||
Reference in New Issue
Block a user