-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"NULL" text in null field should disappear as soon as a field gets the focus #22883
Comments
Author Name: Matthias Kuhn (@m-kuhn) In "Settings" -> "Options" -> "General" -> "Data Sources" the representation for NULL values can be changed (to e.g. an empty string). Does that fix your issue?
|
Author Name: Harrissou Santanna (@DelazJ) It might do the trick but having NULL shown in a field can be handy.
|
Author Name: Giovanni Manghi (@gioman) This seems to have been anyway addressed in QGIS 2.18. Here on 2.18.2 when I move with TAB or click on a cell that has "NULL" this automatically disappear, with no need to select and delete it before filling the cell with actual content.
|
Author Name: gcarrillo - (gcarrillo -) Reopened as this still happens in QGIS master (v2.99). This happens in forms as well. You end up easily entering values like NULLmy value because of this issue.
The display of the word NULL in an empty field should not be with actual text that just makes extra work when entering data into fields. to When I enter a value into a form or table all the fields are set to Null to begin with. When I type into the field the displayed word NULL turns into the text NULL. This means I have to select and delete that text if I don't want NULL appearing in that field. The display of the word NULL in an empty field should not be with actual text that just makes extra work when entering data into fields.
|
Author Name: gcarrillo - (gcarrillo -)
|
Author Name: Giovanni Manghi (@gioman) gcarrillo - wrote:
I cannot confirm on the latest master on osgeo4w.
|
Author Name: Giovanni Manghi (@gioman) Closing for lack of feedback, please reopen if necessary.
|
Author Name: gcarrillo - (gcarrillo -) Still happening in master (ea0c705). I attached a GIF to illustrate the issue.
|
Author Name: Giovanni Manghi (@gioman) End of life notice: QGIS 2.18 LTR Source:
|
Author Name: gcarrillo - (gcarrillo -) Just tested this in QGIS master 3.7 and it's still happening. Reopening, since BSF Swissphoto will fund this fix.
|
Author Name: Giovanni Manghi (@gioman)
|
The tested behavior on current master is like this with GeoPackage source:
Do you confirm @gacarrillor ? |
Okay @gacarrillor I haven't noticed that.
|
PR #32158 is merged. So datetime widgets have a consistent behavior as well now. |
Author Name: Patrick Dunford (@enzedrailmaps)
Original Redmine Issue: 14932
Affected QGIS version: 3.7(master)
Redmine category:forms
When I enter a value into a form or table all the fields are set to Null to begin with. When I type into the field the displayed word NULL turns into the text NULL. This means I have to select and delete that text if I don't want NULL appearing in that field.
The display of the word NULL in an empty field should not be with actual text that just makes extra work when entering data into fields.
The text was updated successfully, but these errors were encountered: