Skip to content

Commit

Permalink
Fixed the ability to update a resource. Related to #37 (#38)
Browse files Browse the repository at this point in the history
Thanks, close #37
  • Loading branch information
Israel5 committed Jul 18, 2020
1 parent 6a930b9 commit 26fc647
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/ConditionalContainer.php
Expand Up @@ -290,7 +290,8 @@ public function resolveDependencyFieldUsingRequest($resource, NovaRequest $reque
!blank($field->attribute) &&
!$field->isReadonly($request) &&
!$field instanceof RelatableField &&
!$field instanceof \Whitecube\NovaFlexibleContent\Flexible) {
!$field instanceof \Whitecube\NovaFlexibleContent\Flexible &&
!$field instanceof \DigitalCreative\ConditionalContainer\ConditionalContainer) {

$resource->setAttribute($field->attribute, $field->value);

Expand Down

0 comments on commit 26fc647

Please sign in to comment.