fix(calendar): allow editing and clearing appointment recurrence #248
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/MAPPS-236-edit-recurrence-rule"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The recurrence RRULE was create-only: the input was gated out of edit mode
with
if !is_edit, the form signal always seeded empty, andUpdateAppointmentRequest had no recurrence_rule field, so an existing rule
could neither be changed nor cleared.
Seed the recurrence signal from the appointment, always show the input, add
recurrence_rule to UpdateAppointmentRequest, and send it on update. The
update field is always serialized (sent as null when empty) so emptying the
input clears the rule rather than leaving the prior value in place.
#MAPPS-236