Skip to content
Snippets Groups Projects
Commit 4cf2588e authored by Jonathan Weth's avatar Jonathan Weth :keyboard:
Browse files

Merge branch '1266-some-crud-lists-are-initially-set-to-edit-mode' into 'master'

Resolve "Inline CRUD lists are initially set to edit mode"

Closes #1266

See merge request !1819
parents 22bfd33d fa1e1356
No related branches found
Tags 0.1.1
1 merge request!1819Resolve "Inline CRUD lists are initially set to edit mode"
Pipeline #198136 failed
......@@ -48,6 +48,7 @@ Fixed
* [Dev] Dialog-Object-Form's internal dialog-mode-handling did not implement opening via activator slot.
* [Dev] MutateMixin could not be used for affected queries without variables.
* [Dev] RecurrenceField did error if an empty date was input.
* [Dev] InlineCRUDList broke with DialogObjectForm implicitly handling undefined ``isCreate``.
`4.0.1`_ - 2025-04-16
---------------------
......
......@@ -15,7 +15,7 @@ export default {
isCreate: {
type: Boolean,
required: false,
default: undefined,
default: true,
},
/**
* The graphQL create mutation
......
......@@ -3,6 +3,15 @@ import createOrPatchPropsMixin from "./createOrPatchPropsMixin";
export default {
mixins: [createOrPatchPropsMixin],
props: {
/**
* Defines if Object form creates or edits items. If undefined this is decided implicitly depending on editItem.
* @values undefined, true, false
*/
isCreate: {
type: Boolean,
required: false,
default: undefined,
},
/**
* Title if isCreate is true
*/
......@@ -28,7 +37,7 @@ export default {
default: "status.object_create_success",
},
/**
* SuccessMessage if isCreate is false
* SuccessMessage if
*/
editSuccessMessageI18nKey: {
type: String,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment