Skip to content

Commit

Permalink
amend detail field
Browse files Browse the repository at this point in the history
  • Loading branch information
bastihilger committed Feb 1, 2022
1 parent 6dd5fa2 commit aaa787b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 16 deletions.
2 changes: 1 addition & 1 deletion dist/js/field.js

Large diffs are not rendered by default.

21 changes: 6 additions & 15 deletions resources/js/components/DetailField.vue
Original file line number Diff line number Diff line change
@@ -1,22 +1,13 @@
<template>

<panel-item :field="field">
<template slot="value">
<excerpt :content="field.value" :should-show="field.shouldShow" />
</template>
</panel-item>
</template>

<script>
export default {
props: {
field: {
type: Object,
required: true,
},
},
computed: {
},
props: ['resource', 'resourceName', 'resourceId', 'field'],
}
</script>

<style>
</style>
1 change: 1 addition & 0 deletions resources/js/components/FormField.vue
Original file line number Diff line number Diff line change
Expand Up @@ -447,6 +447,7 @@ export default {
return {
...this.parent?.(),
dir: String,
data: String,
}
}
}),
Expand Down

0 comments on commit aaa787b

Please sign in to comment.