Skip to content

Validation for HasMany Relation not working properly #116

@sagadsalem

Description

@sagadsalem

On the following code. I am using hasMany with inline relation. But when I add validation on fields in "ProductAddons". It is not working.

// Bundle Resource
HasMany::make('Addons', 'addons',
\App\Nova\ProductAddons::class)
->inline(),

//BundlePublications Resource
Number::make('Price', 'qty')->rules('required'),

is anything wrong or it's some kind of bug?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions