Skip to content

Fields within actions don't respect field->required(true) validation rules #5362

@squpshift

Description

@squpshift

Nova 4.22.1
Laravel 9.52.4

I am experiencing this exactly as described below on previously closed issue:

          `->rules('required')` works as expected for a `Select` field for me as of v4, however `->required()` only adds the `*` next to the field, it does not actually require it.

Originally posted by @bkuhl in #2057 (comment)

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