Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Input date throws required when date is invalid #8374

Closed
@kox

Description

@kox

When I implement an input date as required and I insert an invalid date like 4/31/1996, then the validation throws a ng-invalid-required but in the documentation the invalid dates are triggered as $error.date:

<span class="error" ng-show="myForm.input.$error.date">Not a valid date!</span>

How is possible to detect when a date is invalid or when was not inserted?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions