Skip to content

Add Model Validation Attribute For Range Of Numbers #236

Description

@yollosun

Is your feature request related to a problem? Please describe.
I need to validate the numeric range of input value.
For example validate that value bigger than 100 and less than 1000

Describe the solution you'd like
Ex: [Range(100, 1000)]

Describe alternatives you've considered
I considered the alternative of using regex Attribute, but I think using a function designed for ranging would be much more convenient.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    Status
    Closed

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions