Hey Clark, I've been using this extension for a long time now, but until a few days ago I haven't had the opportunity to use a Mithril component (in this case the contact form).
I've tried to use it as it says in the GitHub repository, both in the extend.php
, as in the page itself.
But for some reason I have not been able to get it to work, I get this console error:
forum.js?v=1da2ee39:1 TypeError: Cannot read properties of undefined (reading 'ContactForm')
at eval (eval at <anonymous> (forum.js?v=1da2ee39:410:1051380), <anonymous>:1:38)
at forum.js?v=1da2ee39:410:1051380
at Array.map (<anonymous>)
at Page.view (forum.js?v=1da2ee39:410:1051273)
at Function.a (forum.js?v=1da2ee39:1:138663)
at forum.js?v=1da2ee39:1:145102
at p (forum.js?v=1da2ee39:1:145489)
at f (forum.js?v=1da2ee39:1:141716)
at forum.js?v=1da2ee39:1:144175
at p (forum.js?v=1da2ee39:1:144380)
Does it work for you?