For the Ember version 2.16,they have removed the arguments passed to the, didReceiveAttrs component lifecycle hooks. Now previously I was getting arguments in the form of object.
newAttrs:
EmptyObject:
{
dataTestId: "test-object"
items: MutableCell {__MUTABLE_CELL__ [id=__ember1555539649631463096066386]: true, __REF__ [id=__ember1555539649631670217952659]: RootPropertyReference, value: Array(27)}
prompt: SafeString {string: "Select an Initiator Group"}
required: true
selected: MutableCell {__MUTABLE_CELL__ [id=__ember1555539649631463096066386]: true, __REF__ [id=__ember1555539649631670217952659]: RootPropertyReference, value: undefined}
__proto__: Object
}
After deprecation how to get such object in the didReceiveAttrs?
Aucun commentaire:
Enregistrer un commentaire