-
-
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
Attributes forms and problem with setting variables as defaults (QGIS 3.4.1) #28199
Comments
Author Name: Giovanni Manghi (@gioman) Works as expected on 2.18 (I'm not sure @user_account_name is available on 2.18)?
|
Author Name: Jadwiga Trojak (@troyaqgis) Yes, in QGIS 2.18.25 it works. |
Author Name: Giovanni Manghi (@gioman)
|
I can't reproduce this. Is it still an issue in 3.16? |
Seems to be fixed in: QGIS version |
Author Name: Jadwiga Trojak (@troyaqgis)
Original Redmine Issue: 20379
Affected QGIS version: 3.4.1
Redmine category:forms
I have geopackage layer with two fields: user and data_mod. I'd like to set default value for user field with @user_account_name variable (widget type: Text Edit) and for data_mod field with function now() (widget type: Date/Time). In the first case, after clicking Apply button, this settings aren't save, and the default value changes automatically to 'NULL'. In the second case, default value changes automatically to exact date, not date from variable now().
The text was updated successfully, but these errors were encountered: