[MAGNOLIA-6465] Allow support for empty (placeholder) option in SelectFieldDefinition Created: 18/Dec/15  Updated: 13/Feb/17

Status: Open
Project: Magnolia
Component/s: admininterface
Affects Version/s: 5.4.3
Fix Version/s: None

Type: Improvement Priority: Neutral
Reporter: Jordie Diepeveen Assignee: Unassigned
Resolution: Unresolved Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Date of First Response:

 Description   

It would be nice to allow an empty placeholder value in the SelectFieldDefinition options.
When the field is loaded, the empty placeholder option (can be something like '<Select user type>') is selected by default when no option has been set.

Currently an option without a value property will use the option name for value. This way it's not possible to make an empty selection.



 Comments   
Comment by Joscha van der Linden [ 13/Feb/17 ]

This would be very helpful!

Generated at Mon Feb 12 04:14:47 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.