Skip to content

File properties min/max values incorrectly display as characters #764

@willvincent

Description

@willvincent

Given this validation rule:

[
  'logo' => ['required', 'file', 'mimes:jpg,jpeg,png,gif', 'max:4096'],
]

It can be reasonably assumed that generated docs should display the max value as 4096KB or 4MB but the output shows as 4096 characters:

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions