Forum - Multi-select component problem
- This topic has 6 replies, 2 voices, and was last updated 3 months, 3 weeks ago by Josh Weisman.
- December 8, 2020 at 12:02 pm #68371Jørgen JegsenParticipant
As I see it, the Multi-select documentation (https://developers.exlibrisgroup.com/cloudapps/tutorials/multiple-entities/ ) only shows the code for html and component. The app also needs to have
added to app.module.ts to avoid js-error: Can’t bind to ‘entityList’ since it isn’t a known property of ‘app-select-entities’….
In both cases no items shows in the app. Am I on the wrong track?December 8, 2020 at 12:17 pm #68372Jørgen JegsenParticipant
My code in this branch:
https://github.com/kb-dk/alma_cloud_app_interlibrary_addon/tree/Unassign_and_cancelDecember 8, 2020 at 1:00 pm #68375Josh WeismanKeymaster
Hi Jørgen. Thanks for your question.
I don’t see in your branch that you’ve created the select-entities component which can be used to list the displayed entities:
Is it possible that’s missing?December 9, 2020 at 12:50 pm #68386Jørgen JegsenParticipant
Sorry. I forgot to check in the new multi-select files. Would you please take another look?December 10, 2020 at 7:43 am #68395Josh WeismanKeymaster
Hi Jørgen. You also need the select-entities component from here (and add it to app.module.ts):
That’s what provides the functionality of the
Hope that helps.December 14, 2020 at 9:46 am #68423Jørgen JegsenParticipant
Thank you. Now it is working. I can see now, that it is mentioned in the documentation that select-entities must be copied also. Perhaps it would be nice to emphasize it a little more – also the need for adding in the app-module. Just at suggestion 🙂December 14, 2020 at 9:55 am #68425Josh WeismanKeymaster
Will do! Glad it worked out.
- You must be logged in to reply to this topic.