Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi, just thought it would be a better UX if we alerted them on
node/[nid]/webform/components/[cid]/delete
That deleting a component will cause all the data stored about that component to be deleted (Because of DB constraints), they can make the field private to avoid it.
I'm happy to implement and submit a patch.
Comments
Comment #1
quicksketchSure, we could make the error message a little more verbose, though I think it's already fairly clear that deleting a component is going to delete the related data too.
Our current message is:
How about changing it to:
Is that clear enough?
I don't think proposing private components as an alternative needs to be offered.
Comment #2
DanChadwick CreditAttribution: DanChadwick commentedClosing for lack of activity. I think it is pretty obvious that if you delete a component, you delete the data.