very complexe for me, i imagine something so :
this.quickModalEdit(careId) ... but no, it's my fault because front-end is very hard for me
Espo.Ajax.postRequest(self.model.entityType + '/action/createCare', {
meetingId: self.model.get('id'),
}).then(function (response) {
view.model.fetch();
self.model.trigger('update-related:cares');
console.log(response); // response have careId -> open to small Edit ?
});
Leave a comment: