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.

ngMin/ngMax don't set min/max attributes #11636

Closed
@twhitbeck

Description

@twhitbeck

It'd be nice if ngMin and ngMax set the min and max attributes accordingly. Similarly to how ngSrc and ngHref do. I realize I can use ng-attr-min and ng-attr-max, but that extra step seems unnecessary.

Ideally, for date types the same date parsing/formatting would be used as in the input directive for the respective types, but this behavior should happen even when there's no ngModel directive on the element. That means this needs to happen outside the directive linking function (since it doesn't get called if there's no ngModel directive present).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions