Kefir.emitterProperty() as a value for a ViewModel doesn’t work with <input on:input:value:to="this.foo.value">
This CodePen demonstrate thes issue, when you fill the input you should see an error Uncaught TypeError: Cannot add property value, object is not extensible.
It seems that a @@can.hasKey symbol is needed in the emitterProperty object.
Kefir.emitterProperty()
as a value for a ViewModel doesn’t work with<input on:input:value:to="this.foo.value">
This CodePen demonstrate thes issue, when you fill the input you should see an error
Uncaught TypeError: Cannot add property value, object is not extensible
.It seems that a
@@can.hasKey
symbol is needed in the emitterProperty object.