Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hasMany Inline field validation #97

Open
abdulSF opened this issue Jun 22, 2021 · 1 comment
Open

hasMany Inline field validation #97

abdulSF opened this issue Jun 22, 2021 · 1 comment

Comments

@abdulSF
Copy link

abdulSF commented Jun 22, 2021

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'),

@kennethtomagan
Copy link

Is there any update on this?
I experience same issue in Nova 4.26

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants