Bug report #15215

Updated by Giovanni Manghi almost 5 years ago

The "value map" widget does not handle NULL values. The code in qgsvaluemapsearchwidgetwrapper.cpp does not have any handling of NULL values, like the other editing widgets have.

In particular, this makes it impossible to reset values to NULL using the "value map" widget.

(When using shape files, numerical values can be reset to NULL by using an empty string as value, but with other providers such as PostGIS, this only leads to the error message that '' is not a valid numerical value.)