Skip to content

A prepareForValidation method #30

@ziming

Description

@ziming

It will be great if there is a prepareForValidation() method just like in Form Request. Will be helpful for checkbox fields especially. Where we want to do a $this->boolean('checkbox_field')

I see that the Field class has a transform() method, but not sure if it is equivalent to Laravel FormRequest's prepareForValidation() as I didn't see it get called before the $this->validate(...) in WizardStep processStep() method

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