Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
UPSMF
uphrh-SunbirdEd-portal-old
Commits
ce180799
Commit
ce180799
authored
2 years ago
by
5Amogh
Browse files
Options
Download
Patches
Plain Diff
Issue #ED-631 fix: start and end date allowed only after the user choses a resource
parent
69a8e905
release-5.1.0
Tags unavailable
1 merge request
!1
Feature/inquiry server validation
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/app/client/src/app/modules/program-dashboard/components/program-datasets/program-datasets.component.html
+4
-4
...mponents/program-datasets/program-datasets.component.html
with
4 additions
and
4 deletions
+4
-4
src/app/client/src/app/modules/program-dashboard/components/program-datasets/program-datasets.component.html
+
4
−
4
View file @
ce180799
...
...
@@ -106,17 +106,17 @@
<div
*ngIf=
"tabIndex !== 1 && tabIndex !== 2"
class=
"d-flex flex-dc customDate"
>
<label>
{{resourceService?.frmelmnts?.lbl?.startdate | titlecase }}
</label>
<mat-form-field
appearance=
"fill"
class=
"sb-mat__dropdown custom_mat_dd sb-color-primary"
>
<input
matInput
placeholder=
"dd/mm/yyyy"
[max]=
"maxStartDate"
(dateInput)=
"dateChanged($event,'startDate')"
(dateChange)=
"dateChanged($event,'startDate')"
formControlName=
"startDate"
[matDatepicker]=
"picker"
>
<input
matInput
[readonly]=
"!reportForm.controls.solution.value"
placeholder=
"dd/mm/yyyy"
[max]=
"maxStartDate"
(dateInput)=
"dateChanged($event,'startDate')"
(dateChange)=
"dateChanged($event,'startDate')"
formControlName=
"startDate"
[matDatepicker]=
"picker"
>
<mat-datepicker-toggle
matSuffix
[for]=
"picker"
class=
"sb-color-primary"
></mat-datepicker-toggle>
<mat-datepicker
#picker
></mat-datepicker>
<mat-datepicker
[disabled]=
"!reportForm.controls.solution.value"
#picker
></mat-datepicker>
</mat-form-field>
</div>
<div
*ngIf=
"tabIndex !== 1 && tabIndex !== 2"
class=
"d-flex flex-dc customDate"
>
<label>
{{resourceService?.frmelmnts?.lbl?.enddate | titlecase }}
</label>
<mat-form-field
appearance=
"fill"
class=
"sb-mat__dropdown custom_mat_dd sb-color-primary"
>
<input
matInput
placeholder=
"dd/mm/yyyy"
[min]=
"minEndDate"
[max]=
"maxEndDate"
(dateInput)=
"dateChanged($event,'endDate')"
(dateChange)=
"dateChanged($event,'endDate')"
formControlName=
"endDate"
[matDatepicker]=
"picker"
>
<input
matInput
[readonly]=
"!reportForm.controls.solution.value"
placeholder=
"dd/mm/yyyy"
[min]=
"minEndDate"
[max]=
"maxEndDate"
(dateInput)=
"dateChanged($event,'endDate')"
(dateChange)=
"dateChanged($event,'endDate')"
formControlName=
"endDate"
[matDatepicker]=
"picker"
>
<mat-datepicker-toggle
matSuffix
[for]=
"picker"
class=
"sb-color-primary"
></mat-datepicker-toggle>
<mat-datepicker
#picker
></mat-datepicker>
<mat-datepicker
[disabled]=
"!reportForm.controls.solution.value"
#picker
></mat-datepicker>
</mat-form-field>
</div>
<ng-container
*ngIf=
"pdFilters.length && tabIndex !== 1 && tabIndex !== 2"
>
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets