Skip to content

Commit

Permalink
Merge pull request #6224 from getkirby/fix/6209-drawer-id
Browse files Browse the repository at this point in the history
Set correct drawer id in structure field
  • Loading branch information
bastianallgeier authored Jan 30, 2024
2 parents 7b37129 + 752a909 commit 0c830df
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions panel/src/components/Forms/Blocks/Blocks.vue
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,10 @@

<script>
import { set } from "vue";
import { autofocus, disabled } from "@/mixins/props.js";
import { autofocus, disabled, id } from "@/mixins/props.js";
export const props = {
mixins: [autofocus, disabled],
mixins: [autofocus, disabled, id],
props: {
empty: String,
endpoints: Object,
Expand Down
4 changes: 2 additions & 2 deletions panel/src/components/Forms/Field.vue
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,10 @@
</template>

<script>
import { disabled, help, label, name, required } from "@/mixins/props.js";
import { disabled, help, id, label, name, required } from "@/mixins/props.js";
export const props = {
mixins: [disabled, help, label, name, required],
mixins: [disabled, help, id, label, name, required],
props: {
counter: [Boolean, Object],
endpoints: Object,
Expand Down
3 changes: 2 additions & 1 deletion panel/src/components/Forms/Layouts/Layouts.vue
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,10 @@

<script>
import { props as LayoutProps } from "./Layout.vue";
import { id } from "@/mixins/props.js";
export const props = {
mixins: [LayoutProps],
mixins: [LayoutProps, id],
props: {
empty: String,
max: Number,
Expand Down

0 comments on commit 0c830df

Please sign in to comment.