[Qgis-user] Altered behavior of Value Relation widget from QGIS ver. 3.38 to 3.40
Bo Victor Thomsen
bo.victor.thomsen at gmail.com
Sat Mar 29 02:47:51 PDT 2025
Hi list -
In QGIS ver. 3.38 and prior versions - using a "Value Relation" widget
in a attribute form - you could change the behavior of the drop-down
value list in the widget by checking/unchecking the "Allow NULL value"
checkbox:
* If "Allow NULL value" was checked, the chosen value would be
"blank"/not chosen.
* If "Allow NULL value" was /not /checked, the chosen value would be
set to the first value in the value list.
So you could decide if the field automatically got a value from the
drop-down list without any manual user action.
/However,/ in QGIS version 3.40 and onward, this behavior has changed.
Regardless of the state of the "Allow NULL value" checkbox the initial
value of the widget is always "blank"/not chosen.
Is this the new expected behavior or is it a regression bug ? And if it
is the expected behavior: Can you somehow enable the old behavior ??
I have many (many, many...) QGIS projects depending on the old behavior.
--
Med venlig hilsen / Best regards
Bo Victor Thomsen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20250329/1a4ec9cb/attachment.htm>
More information about the QGIS-User
mailing list