Skip to content

Commit

Permalink
fixes #89 (#90)
Browse files Browse the repository at this point in the history
Co-authored-by: René Hrdina <[email protected]>
  • Loading branch information
darinda and René Hrdina authored May 7, 2021
1 parent 69a23f7 commit d90ee0e
Show file tree
Hide file tree
Showing 2 changed files with 45,698 additions and 2 deletions.
45,698 changes: 45,697 additions & 1 deletion dist/js/field.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion resources/js/components/FormField.vue
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ export default {
/** Determine if we are creating a new resource via a parent relation */
creatingViaRelatedResource() {
return this.viaResource == this.field.resourceName && typeof this.viaResourceId !== "undefined";
return this.viaResource == this.field.resourceName && typeof this.viaResourceId !== "undefined" && this.field.reverse;
},
showSelect() {
Expand Down

0 comments on commit d90ee0e

Please sign in to comment.