Skip to content

Problem with Required field and Request after using relationship with ID #5

@w00p

Description

@w00p

After making a CRUD with relationship, and making it required.
img: http://imgur.com/SxwawHm

This is the generated Request file, the id field show only a -

    public function rules()
    {
        return [
            'title' => 'required', 
            '-' => 'required', 

        ];
    }

Am i making the CRUD wrong, or is there an error?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions