Polls seem to confuse almost everyone on a site I use (no ‘show who voted’, and even an insistence on using ‘multiple’ when they really meant to create a ‘single’). So I would find this theme component very useful.
I have been using it as a training exercise, but I think I may be getting confused. Would it be possible to get a hint as to what I’m doing wrong?
<script type="text/discourse-plugin" version="0.8">
api.modifyClass("controller:poll-ui-builder", {
onShow() {
this.setProperties({
publicPoll: true,
});
this._super(...arguments);
}
});
</script>