You need to sign in to do that
Don't have an account?
Aleksey Sheldagaev
Attribute type sObject failed to read after Summer'16 update
My Lightning component stopped work after Summer '16 update and LockerService activation
The reason is sObject attribute and its fields not accessible as before.
Here is my attribute and inputReachText component with binded field of Idea:
Did anybody face with something similar?
The reason is sObject attribute and its fields not accessible as before.
Here is my attribute and inputReachText component with binded field of Idea:
<aura:attribute name="newIdea" type="Idea" default="{'sObjectType':'Idea', 'Body':''}" /> <ui:inputRichText aura:id="ideaBodyText" value="{!v.newIdea.Body}" label="Description" />And here is controller code after change the body field and click save:
console.log(cmp.get('v.newIdea')); //= {sObjectType:'Idea', Body:''} - Body is empty console.log(cmp.get('v.newIdea.Body')); //= TEST BODYAnd when trying to send the object to Apex controller method it says 'Unable to read SObject'.
Did anybody face with something similar?
Thanks.