<div dir="ltr">Hi Juho,<div><br></div><div>have you tried enabling/disabling option in project properties: Project > Properites > Data Sources > Evaluate default values on provider side.</div></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">čet, 12. pro 2024. u 10:52 Juho Ervasti via QGIS-Developer <<a href="mailto:qgis-developer@lists.osgeo.org">qgis-developer@lists.osgeo.org</a>> napisao je:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hey,</div><div><br></div><div>I'm writing about a QGIS issue <a href="https://github.com/qgis/QGIS/issues/59494" target="_blank">https://github.com/qgis/QGIS/issues/59494</a>. In summary when using the merge feature tool the attributes for the pending new feature are initially populated with a default value for the field if one is set in the data provider (e.g. Postgres, OGR). The default value set in QGIS doesn't have an effect.</div><div><br></div><div>Is this the intended behavior? At least in some cases it would make sense if the value came from the selected features, like it does if a default value is not set.</div><div><br></div><div>If it is the intended behavior and shouldn't be changed outright, would it be okay to add an option for it in the Attribute form's "Policies" section, similar to the splitting and duplicating policies?<br></div><div><br clear="all"></div><div><div dir="ltr" class="gmail_signature"><div dir="ltr"><div>Best regards,</div><div>Juho Ervasti</div><div>GIS Specialist</div><div>Gispo Finland Ltd.<br></div></div></div></div></div>
_______________________________________________<br>
QGIS-Developer mailing list<br>
<a href="mailto:QGIS-Developer@lists.osgeo.org" target="_blank">QGIS-Developer@lists.osgeo.org</a><br>
List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
</blockquote></div><div><br clear="all"></div><div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"><div dir="ltr">Srdačan pozdrav / Kind regards,<div>Vedran Stojnović.</div></div></div>