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
_______________________________________________
QGIS-User mailing list
QGIS-User@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user