Skip to content
This repository was archived by the owner on Dec 14, 2018. It is now read-only.
This repository was archived by the owner on Dec 14, 2018. It is now read-only.

ModelState always keep Unvalidated state when Model implements IEnumerable<> #4978

@marcusien

Description

@marcusien

The ModelState is always non valid if my ViewModel implements the IEnumerable<> interface.
Not any error is raised, just all the ModelStateNode keep the Unvalidated state.

I put a little sample here

A same ViewModel with or without IEnumerable implementation does not behave the same way.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions