File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed
src/app/modules/shared/components/details-fields Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 9999 [format] ="24 "
100100 formControlName ="start_hour "
101101 id ="start_hour "
102- [disabled] ="!(project_name.value && project_id.value) "
103102 class ="timepicker-input "
103+ [class.timepicker-input--disabled] ="!(project_id.value && project_name.value) "
104104 > </ ngx-timepicker-field >
105105 </ div >
106106 </ div >
126126 [format] ="24 "
127127 formControlName ="end_hour "
128128 id ="end_hour "
129- [disabled] ="!(project_name.value && project_id.value) "
130129 class ="timepicker-input "
130+ [class.timepicker-input--disabled] ="!(project_id.value && project_name.value) "
131131 > </ ngx-timepicker-field >
132132 </ div >
133133 </ div >
Original file line number Diff line number Diff line change @@ -103,3 +103,8 @@ input[type="date"]::-webkit-clear-button {
103103 border-radius : 0.25rem ;
104104}
105105
106+ .timepicker-input--disabled ::ng-deep div {
107+ pointer-events : none ;
108+ background-color : #e9ecef ;
109+ opacity : 1 ;
110+ }
You can’t perform that action at this time.
0 commit comments