Feature request #9535

Set standard value in value map

Added by Victor Axbom over 3 years ago. Updated 6 months ago.

Pull Request or Patch supplied:No Resolution:
Easy fix?:No


It would be great if you could be able to set a standard value in the value map edit widget. This standard value should then automatically be selected in the dropbox when you create a new object. As it is now the values are just sorted alphabetical in the dropbox and the first value is chosen.


#1 Updated by Jürgen Fischer over 3 years ago

Note: Such default values would conflict with the default values the data provider can deliver (eg. in postgres).

#2 Updated by Matthias Kuhn over 3 years ago

This should be defined on the field and not on a widget IMO.
It is about the same level of abstraction as the domains/constraints discussed in Brighton.
I don't think this necessarily conflicts with default values by providers. This feature would need to be enabled explicitly and if disabled provider defaults should be used.

#3 Updated by Giovanni Manghi 6 months ago

  • Easy fix? set to No

Also available in: Atom PDF