Details
-
Type: Sub-task
-
Status: Done/Fixed
-
Priority: Major
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.3.0
-
Fix Version/s: 4.3.0
-
Component/s: CiviCRM Profile
-
Labels:None
Description
The removal button (trashcan icon) was originally tested with entirely new forms, and it doesn't work correctly on items which have an 'id' – thus, any UFField provided by the server cannot be deleted.
We can fix this by suppressing Backbone's attempt to immediately delete the UFField. This is OK because the field will eventually be deleted by the UFField.replace API.