Hi Gareth
Yes, that would likely work as does:
Yes, that would likely work as does:
{{#js}} require(['block_es6/user_form'], function(user_form) { user_form.init('{{name}}'); } ); {{/js}}The issue was indeed the quotes around the string.
Thanks
Richard
Richard