When i change the value in my Lightning Component for Credit_Allocation__c, the new value is not getting saved and as soon as mouse out to the column, Credit_Allocation__c value gets changes to it's previous value.
member is basically a wrapper here, inside that wrapper I have a reference to Booking object that I am trying to update.
I am using wrapper as I need to maintain some boolean field like is selected, isdelete etc.
<aura:iteration var="member" items="{!v.teamMembers}" indexVar="index" >
<ui:inputNumber value="{!member.booking.Credit_Allocation__c}" updateOn="change" />
</aura:iteration>
Can anyone help!!!! I have been trying to fix this from past 5 hours but no luck :( :(