FullCalendar-BS4-PHP-MySQL-JSON icon indicating copy to clipboard operation
FullCalendar-BS4-PHP-MySQL-JSON copied to clipboard

Event creation allows empty input fields, and deletes all other events if created with empty inputs (JSON Build)

Open rico161 opened this issue 4 years ago • 1 comments
trafficstars

index-json.php allows the user to create events without submitting a title/description, and doing so seems to delete all other json events that were on the calendar before. The easiest fix would just be to require the title to be filled before the user can submit (this should be required anyways).

rico161 avatar Oct 03 '21 08:10 rico161

Thanks for catching this. Setting require on the inputs should fix this.

waldronmatt avatar Oct 17 '21 00:10 waldronmatt