I think this should help:
https://github.com/paviliondev/discourse-custom-wizard/pull/308
cc @angus
Please bear in mind that this option will not be available for much longer. As soon as custom-wizard is fixed, I recommend you switch back to to the new compiler.