Skip to content

hasMany Inline field validation #97

Description

@abdulSF

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

// Bundle Resource
HasMany::make('Bundle Product', 'BundlePublications',
\App\Nova\BundlePublication::class)
->inline(),

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    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