File tree Expand file tree Collapse file tree 3 files changed +4
-6
lines changed
src/app/common/components/input-field Expand file tree Collapse file tree 3 files changed +4
-6
lines changed Original file line number Diff line number Diff line change 11< p-floatlabel [variant] ="variant ">
2- < input pInputText id =" input_{{ label | lowercase }} " [(ngModel)] ="value " [type] ="type " [disabled] ="disabled " autocomplete ="off " />
3- < label for =" input_{{ label | lowercase }} "> {{ label }}</ label >
2+ < input pInputText [id] =" ' input_' + ( label | lowercase) " [(ngModel)] ="value " [type] ="type " [disabled] ="disabled " autocomplete ="off " />
3+ < label [ for] =" ' input_' + ( label | lowercase) "> {{ label }}</ label >
44</ p-floatlabel >
Original file line number Diff line number Diff line change 11p-floatlabel {
2- width : 500px ;
3-
42 input {
53 width : 100% ;
6- padding : 15px ;
74 font-size : 16px ;
85 background-color : var (--background-color-light );
96 border : var (--grey-border );
107 border-radius : 8px ;
118 transition : border-color 0.3s ease-in-out ;
9+ color : black ;
1210
1311 & :focus ,
1412 & :hover ,
Original file line number Diff line number Diff line change @@ -15,6 +15,6 @@ export class InputFieldComponent {
1515 @Input ( ) label : string = '' ;
1616 @Input ( ) type : string = 'text' ;
1717 @Input ( ) disabled : boolean = false ;
18- @Input ( ) variant : 'in' | 'over' | ' on' = 'in' ;
18+ @Input ( ) variant : 'in' | 'on' = 'in' ;
1919 value : string = '' ;
2020}
You can’t perform that action at this time.
0 commit comments