rotaract/rotaract-appointments

Can not add multiple sources for events

Closed this issue · 5 comments

When trying to add multiple sources for events (e. g. a club + MDIO) you can only choose one source. Trying to add a second source via the button does not work.

This has been re-emphasized by some people in our Zoom event today :D

Does 82eeefb fix that problem? Otherwise I don't understand this issue.

Let me try a more detailed explanation:

In the WordPress interface of the plugin, cannot successfully add or remove a host (Veranstalter). The GUI shows "settings saved" when clicking the button "add" ("+Hinzufügen") or "x", but no field shows/disappears, thus nothing can be added.

This has been observed e.g. on d1810. and demo., but not on d1841. afaik.

This should be fixed by now.

The issue was that there was already an error in the init function of the js-select package. Thus no event listeners were registered for the Add and Close buttons and without those WordPress treats them as submit buttons for the whole form.

Looks good on demo. Thanks!