Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set correct drawer id in structure field #6224

Merged
merged 3 commits into from
Jan 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading