Closed cherifGsoul closed 6 years ago
I have this component:
var ComponentCtor = Component.extend({ tag: 'a-tag', ViewModel: { foo: { default() { return "bar"; } } } });
when the component is instantiated like this:
var componentInst = new ComponentCtor({ viewModel: { foo: null } });
It throws an error Uncaught TypeError: Cannot read property 'Symbol(can.getValue)' of null
Uncaught TypeError: Cannot read property 'Symbol(can.getValue)' of null
I have this component:
when the component is instantiated like this:
It throws an error
Uncaught TypeError: Cannot read property 'Symbol(can.getValue)' of null