v-model added so data is taken from the form for all fields + modal title correction

This commit is contained in:
Julie Lenaerts 2022-01-13 16:30:52 +01:00
parent f7e287d415
commit 1a07c9d71a
3 changed files with 4 additions and 3 deletions

View File

@ -186,8 +186,8 @@ export default {
this.modal.showModal = false; this.modal.showModal = false;
}, },
openModal() { openModal() {
//console.log('## OPEN ON THE FLY MODAL'); // console.log('## OPEN ON THE FLY MODAL');
//console.log('## type:', this.type, ', action:', this.action); // console.log('## type:', this.type, ', action:', this.action);
this.modal.showModal = true; this.modal.showModal = true;
this.$nextTick(function() { this.$nextTick(function() {
//this.$refs.search.focus(); //this.$refs.search.focus();

View File

@ -18,7 +18,7 @@ const ontheflyMessages = {
thirdparty: "un nouveau tiers professionnel" thirdparty: "un nouveau tiers professionnel"
}, },
addContact: { addContact: {
title: "Créer un contact pour ..." title: "Créer un contact pour {q}"
} }
resource_comment_title: "Un commentaire est associé à cet interlocuteur" resource_comment_title: "Un commentaire est associé à cet interlocuteur"
addContact: { addContact: {

View File

@ -133,6 +133,7 @@ class ThirdParty implements TrackCreationInterface, TrackUpdateInterface
/** /**
* @ORM\Column(name="comment", type="text", nullable=true) * @ORM\Column(name="comment", type="text", nullable=true)
* @Groups({"read", "write"})
*/ */
private ?string $comment = null; private ?string $comment = null;