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

select: required validation is not working if the ng-model value is not null #7954

@indrajithreddy

Description

@indrajithreddy

In my case I am using integer type for ng-model value which by default contains value as zero.
The ng-options doesn't contain any item with the value zero. But still validation is not firing.

If I set model value as null then it is working.

please check the below link.

https://plnkr.co/edit/X8zJ56?p=preview

Metadata

Metadata

Assignees

No one assigned

    Labels

    P1: urgentUrgent issues that should be addressed in the next minor or patch release.has: Pull RequestA PR has been created to address this issueresolution: fixed

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions