Skip to content

Commit

Permalink
fixed broken action handling
Browse files Browse the repository at this point in the history
  • Loading branch information
alexwenzel authored May 31, 2022
1 parent bdc5598 commit 6d86e24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Http/Requests/ActionRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public function validateFields()
{
$availableFields = [];

foreach ($this->action()->fields($this->novaRequest()) as $field) {
foreach ($this->action()->fields($this) as $field) {
if ($field instanceof DependencyContainer) {
// do not add any fields for validation if container is not satisfied
if ($field->areDependenciesSatisfied($this)) {
Expand Down

0 comments on commit 6d86e24

Please sign in to comment.