Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
pmartinezga authored and BSekula committed Jul 24, 2024
1 parent fc69f0c commit 081d008
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ export abstract class BoundaryDateTimeFieldValidator implements FormFieldValidat
private supportedTypes = [FormFieldTypes.DATETIME];

isSupported(field: FormFieldModel): boolean {
return field && this.supportedTypes.indexOf(field.type) > -1 && !!field.minValue;
return field && this.supportedTypes.indexOf(field.type) > -1 && !!field[this.getSubjectField()];
}

validate(field: FormFieldModel): boolean {
Expand Down

0 comments on commit 081d008

Please sign in to comment.