@@ -874,6 +874,40 @@ layer, it doesn't matter how you design the fields and data types. If you
874874want to make sure everything - the feature and its attributes - gets copied,
875875make sure the schemas match.
876876
877+ When you paste features into another layer,
878+ QGIS checks the attribute values against the :ref: `constraints <constraints >` defined
879+ in the destination layer (for example, ``NOT NULL ``, ``Unique ``, or expression constraints).
880+ If one or more pasted features contain invalid attribute values that
881+ do not meet these constraints, a dialog will
882+ appear, listing all affected features and fields.
883+ When pasting a single feature, you can decide whether to:
884+
885+ * Edit the invalid values directly in the dialog. The corrected values will be used when pasting.
886+ * :guilabel: `Paste Anyway `: the feature is pasted as-is, even with invalid values.
887+
888+ .. figure :: img/edit_paste_invalid_values_single.png
889+ :align: center
890+ :width: 400px
891+
892+ Dialog for handling invalid attribute values when pasting a single feature
893+
894+ When pasting multiple features, the dialog lists all invalid fields across all
895+ features, allowing bulk review and correction. You can decide per field or
896+ per feature whether to:
897+
898+ * Edit the invalid values directly in the dialog. The corrected values will be used when pasting.
899+ * :guilabel: `Discard All `: no features pasted.
900+ * :guilabel: `Discard All Invalid `: pasted only features with valid attribute values.
901+ * :guilabel: `Paste All (Including Invalid) `: all features are pasted as-is, even with invalid
902+ values.
903+ * :guilabel: `Skip `: skip the specific feature, allowing proceeding with the rest.
904+
905+ .. figure :: img/edit_paste_invalid_values_multiple.png
906+ :align: center
907+ :width: 500px
908+
909+ Dialog for handling invalid attribute values when pasting multiple features
910+
877911.. _tip_projections_and_pasting :
878912
879913.. note :: **Congruency of Pasted Features**
0 commit comments