Open toblie opened 7 years ago
Hello,
Can you provide a Plunkr in order to help us ?
Thanks
Thanks for your reply... but I think I can't because it is using my local REST API. so... you see the result above and my declaration of fields... maybe yo can identify any issue or missing declaration?
Thanks
Is there anyone who can help and maybe show me a sample of working reference_many editionView ? Thanks
I had the same problem, in my case the problem depended on type mismatch. The entity id was a numeric type but I tried to link this entity with a list of String instead of a list of number. This is a example: user: [ { id: '1', profil_pic:"http://www.free-icons-download.net/images/user-icon-44709.png", name: 'John', email: 'toto@admin', permissions: ["1","2","3"], // here the ids are string!!! } ]
permissions: { id: 1, //here the id is a number!!! name: 'ADMIN', gid: 1000 }
I don't know why it work on listView and showView but it doesn't work on editView.
Plunker link: https://next.plnkr.co/edit/POXOeJlnSxm9FRJq
I created a model with some reference_many fields. Here a sample of it:
On creationView all is working fine but in editionView it only shows the items with "remove icon" but without labels.
And additional I got some errors on console... I dont know these requests and what they are for. Maybe the issue caused because of these errors.
It would be nice to get a solution or at least a little hint to solve this. Thanks