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 99
99
[format] ="24 "
100
100
formControlName ="start_hour "
101
101
id ="start_hour "
102
- [disabled] ="!(project_name.value && project_id.value) "
103
102
class ="timepicker-input "
103
+ [class.timepicker-input--disabled] ="!(project_id.value && project_name.value) "
104
104
> </ ngx-timepicker-field >
105
105
</ div >
106
106
</ div >
126
126
[format] ="24 "
127
127
formControlName ="end_hour "
128
128
id ="end_hour "
129
- [disabled] ="!(project_name.value && project_id.value) "
130
129
class ="timepicker-input "
130
+ [class.timepicker-input--disabled] ="!(project_id.value && project_name.value) "
131
131
> </ ngx-timepicker-field >
132
132
</ div >
133
133
</ div >
Original file line number Diff line number Diff line change @@ -103,3 +103,8 @@ input[type="date"]::-webkit-clear-button {
103
103
border-radius : 0.25rem ;
104
104
}
105
105
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