# Template Repeater vs Template Canvas

**URL:** <https://forum.inductiveautomation.com/t/template-repeater-vs-template-canvas/33830>\
**Category:** Ignition\
**Created:** [April 9, 2020, 8:05pm UTC](https://forum.inductiveautomation.com/t/template-repeater-vs-template-canvas/33830 "2020-04-09T20:05:34Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![mcgheeiv](https://avatars.discourse-cdn.com/v4/letter/m/71c47a/32.png) [@mcgheeiv](https://forum.inductiveautomation.com/u/mcgheeiv)\
**Post date:** [April 11, 2020, 3:37pm UTC](https://forum.inductiveautomation.com/t/template-repeater-vs-template-canvas/33830/5 "2020-04-11T15:37:34Z")

</div>

A text box on my template has the property change script below. When the value of the text box changes, it appears as if all the template instances reload. Am I doing something wrong or is this the same bug in [Template canvas blinking/refreshing/loading](http://forum.inductiveautomation.com/t/template-canvas-blinking-refreshing-loading/28105)

```auto
if event.propertyName == 'text':

	canvas = system.gui.getParentWindow(event).getRootContainer().getComponent('Template Canvas')

	params = system.util.jsonDecode(canvas.templates.getValueAt(event.source.parent.index, 'parameters'))
	
	params['text'] = event.newValue
		
	canvas.templates = system.dataset.setValue(canvas.templates, event.source.parent.index, 'parameters', system.util.jsonEncode(params))

```

---

_[View the full topic](https://forum.inductiveautomation.com/t/template-repeater-vs-template-canvas/33830)._
