I’m having a hard time wrapping my head around creating a field for the create event modal.
I know that the Discourse post event allowed custom fields setting allows for creating custom fields - but, there’s no control over the field type, it’s just a string, but I need it to be a checkbox. The dream would be to create whatever field types are supported.
I’m pretty new to creating custom components, so that kind of compounds things.
One thought I had was to create a component that allows an admin to change the field type for the allowed custom fields, and possibly use a transformer to change the field type. But, I’m not sure that would work if there are multiple custom fields.
So, I thought maybe it’d be possible to add a new field altogether and bypass the custom fields? But I’m not quite sure where to start with that. I don’t actually need it to populate in the event box after the post is composed, but it’d be a nice-to-have.
Any suggestions or advice welcome!