You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the value relation widget is set up in completer mode there is no simple way of setting a value back to "(no selection)". You can work around it by using the expression-box of the attribute table, thus setting values to NULL, but it should be as intuitive as when not in completer mode (then you can just select "(no selection)" in the drop-down). The problem is probably that deleting the value sets it back to a no-text-value '' but not to NULL. Probably "(no selection)" is only triggered when the value is set to NULL and not when it's ''.
I was testing whether the bugfix for bug #38801 solved my issue and found out it only partly does so. When the value relation widget is set up without completer functionality, it works fine. Thanks for that!
Also, see feature request #39677.
The text was updated successfully, but these errors were encountered:
RobinRots
added
the
Bug
Either a bug report, or a bug fix. Let's hope for the latter!
label
Oct 28, 2020
Describe the bug
When the value relation widget is set up in completer mode there is no simple way of setting a value back to "(no selection)". You can work around it by using the expression-box of the attribute table, thus setting values to NULL, but it should be as intuitive as when not in completer mode (then you can just select "(no selection)" in the drop-down). The problem is probably that deleting the value sets it back to a no-text-value '' but not to NULL. Probably "(no selection)" is only triggered when the value is set to NULL and not when it's ''.
How to Reproduce
see bugreport_completer_noselection.zip
To make this more clear I have put it in a gif:
![bugreport_noselection_completer](https://user-images.githubusercontent.com/51113882/97426028-2b82d680-1913-11eb-806e-39fc79927b4c.gif)
QGIS and OS versions
Additional context
I was testing whether the bugfix for bug #38801 solved my issue and found out it only partly does so. When the value relation widget is set up without completer functionality, it works fine. Thanks for that!
Also, see feature request #39677.
The text was updated successfully, but these errors were encountered: