Hi, community
I'm trying to use an ui5 MultiComboBox where the keys are from a entity, and I want to save the selectedKeys in a composition entity, but when I use the submitChanges() it doesn't works.
Here is my tag:
<m:MultiComboBox selectedKeys="{bookingSkill}" items="{path:'/Skill', templateShareable: true}">
<core:Item key="{code}" text="{name}" />
</m:MultiComboBox>
And my entities:
entity Booking : cuid, managed {
bookingSkill : Composition of many BookingSkills
on bookingSkill.parent = $self;
preferredDate : DateTime;
address : String;
}
entity BookingSkills {
key parent : Association to Booking;
skill : Association to Skill;
}
entity Skill : sap.common.CodeList {
key code : Integer;
name : String(255);
descr : String(255);
}
Do you guys know where I'm going wrong?
Thank you!