Bug report #17268

Default value expression editor doesn't show field list

Added by Arnaud Poncet-Montanges over 6 years ago. Updated over 6 years ago.

Status:Closed
Priority:Normal
Assignee:Regis Haubourg
Category:Forms
Affected QGIS version:2.18.13 Regression?:No
Operating System: Easy fix?:Yes
Pull Request or Patch supplied:No Resolution:wontfix
Crashes QGIS or corrupts data:No Copied to github as #:25166

Description

One can't select field names in expression tool for default values :

Works well two lines further in expression tool for constraints :

Tested on QGIS 2.18.13 (win x64) on text edition form.

History

#1 Updated by Regis Haubourg over 6 years ago

  • Subject changed from Small bug on default value expression in forms to Default value expression editor doesn't show field list

#2 Updated by Regis Haubourg over 6 years ago

confirmed on master too. Was already there in 2.18.10

#4 Updated by Nyall Dawson over 6 years ago

  • Resolution set to wontfix
  • Status changed from Open to Closed

This isn't supported. The default values are calculated on new feature creation, which is before any values are available for the feature's other fields.

Also available in: Atom PDF