joedolson / my-calendar

My Calendar WordPress Plugin
https://www.joedolson.com/my-calendar/
GNU General Public License v3.0
19 stars 16 forks source link

Adding a new category - it can not be selected as Primary category before event has been saved #564

Closed paaljoachim closed 1 year ago

paaljoachim commented 1 year ago

Describe the bug

As one is creating a new event with a new category. The new category is not available to be selected as the Primary Category.

The first category seems to be automatically selected as the Primary. When unchecking the "default" category it is still seen in the Primary Category drop down.

Screenshot 2023-08-15 at 16 44 51

To Reproduce Steps to reproduce the behavior:

  1. Add a new event.
  2. Add a new category.
  3. Select multiple categories.
  4. Notice the newly created category can not be seen in the Primary Category.

Expected behavior I expect after having created a new category that I would be able to right away select it as a Primary Category. (So that I do not have to save the event and then return to it later to select the primary category.)

Screenshot 2023-08-15 at 16 45 58

WordPress 6.3 Theme: Twenty Twenty Three My Calendar plugin: Version 3.4.17

paaljoachim commented 9 months ago

I just tested with version 3.4.23. I see that I now can select the just created category as the primary category,