Feature request #9535

Set standard value in value map

Added by Victor Axbom about 3 years ago. Updated about 3 years ago.

Status:Open Start Date:02/11/2014
Priority:Normal Due date:
Assigned to:- % Done:


Target version:Future Release - Nice to have
Platform: Resolution:
Platform version: Pull Request or Patch supplied:No
Status info: Tag:


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.


Updated by J├╝rgen Fischer about 3 years ago

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

Updated by Matthias Kuhn about 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.

Also available in: Atom