Skip to content

Commit

Permalink
Merge pull request #23 from crynobone/patch-2
Browse files Browse the repository at this point in the history
Support toggling `hide()` and `show()` via Dependent Field
  • Loading branch information
domthomas-dev authored Feb 20, 2023
2 parents 40807d2 + 86e13c7 commit ca750e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/js/components/DefaultField.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template>
<div :class="elementSize">
<field-wrapper :stacked="field.stacked">
<field-wrapper :stacked="field.stacked" v-if="field.visible">
<div class="px-8" :class="field.stacked ? 'pt-6 w-full' : 'py-6 w-1/5'">
<slot>
<form-label
Expand Down

0 comments on commit ca750e9

Please sign in to comment.