Function is not defined in onclick from html

Yes, click.delegate would be my preference as well.

@rhysshadow . . . In previous posts (like defaultDate for native Datepicker not working), you also seem to use something like onclick.call="...". I am not familiar with that construct - I haven’t investigated it yet so I don’t know about any drawbacks - but if it used to work for you, perhaps you could use that here too.

1 Like