Don't propagate loop to child widgets contexts (#804)

This prevents a loop context from being shared among
multiple instances of the same widget.

To pass elements of the parent loop context to widgets,
use props with an expression when configuring the widget:
```
config:
  prop1: =loop.i
```

Signed-off-by: Yannick Schaus <github@schaus.net>
3.0.x
Yannick Schaus 2021-01-14 15:08:12 +01:00
parent d05701734c
commit b196b16656
1 changed files with 0 additions and 1 deletions

View File

@ -136,7 +136,6 @@ export default {
props: this.config,
vars: this.widgetVars,
store: this.context.store,
loop: this.context.loop,
config: this.context.config,
editmode: this.context.editmode,
clipboardtype: this.context.clipboardtype,