Details
-
Type:
Improvement
-
Status: Open
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: 1.0.0.RELEASE
-
Fix Version/s: None
-
Component/s: WEB MVC
-
Labels:None
Description
When using a selection to reference to some entities or enums it is often usefull to force the user to select actively to avoid accidential selection. In this case one often adds a dummy selection to a list like "<please select>" or similar.
Perhaps you could add on option to the field reference/enum command to generate such a dummy entry on position 0 of the list to trigger the user to make a selection. In this case automatic validation will also be nice.
I think the best place is inside the create() and createForm() controller methods, but a centralized approach could be to add an optional parameter to the find methods of the entity.
Attachments
Issue Links
- depends on
-
ROO-581 Create and update views don't allow nullable reference field to be null
-
- Open
-