I need to be able to add a list of departments to an entity directly via the add form of that entity. Those departments don't necessarily exist in the application beforehand and could be strings or entities (being desperate, I've tried both, but entities would of course be the better choice here).
I first thought the
map field type would be ideal for such a case, but couldn't find a way to display it in my form, since I couldn't find an example in the documentation.
I thought this would be fairly easy, but it doesn't look like it. Then again, maybe it's because I've only been using Drupal for a little more than a week.