AddPersons: add suggestion of name when creating new person or thirdparty

This commit is contained in:
nobohan
2022-02-14 12:22:02 +01:00
parent 1c3f6c7c1e
commit 94729a66ca
6 changed files with 51 additions and 6 deletions

View File

@@ -55,6 +55,7 @@
<on-the-fly-create
:action="action"
:allowedTypes="allowedTypes"
:query="query"
ref="castNew">
</on-the-fly-create>
</template>
@@ -91,7 +92,7 @@ export default {
OnTheFlyThirdparty,
OnTheFlyCreate
},
props: ['type', 'id', 'action', 'buttonText', 'displayBadge', 'isDead', 'parent', 'allowedTypes'],
props: ['type', 'id', 'action', 'buttonText', 'displayBadge', 'isDead', 'parent', 'allowedTypes', 'query'],
emits: ['saveFormOnTheFly'],
data() {
return {