[MGNLUI-4017] Selected option in SelectFieldOptionDefinition is ignored Created: 14/Sep/16 Updated: 20/Feb/17 Resolved: 16/Feb/17 |
|
| Status: | Closed |
| Project: | Magnolia UI |
| Component/s: | forms |
| Affects Version/s: | 5.4.8 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major |
| Reporter: | Jordie Diepeveen | Assignee: | Khuong Nguyen |
| Resolution: | Not an issue | Votes: | 1 |
| Labels: | None | ||
| Remaining Estimate: | 0d | ||
| Time Spent: | 1d 1h | ||
| Original Estimate: | 4.5h | ||
| Attachments: |
|
| 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)
|
| Bug DoR: |
[ ]*
Steps to reproduce, expected, and actual results filled
[ ]*
Affected version filled
|
| Date of First Response: | |
| Sprint: | Saigon 82, Saigon 83 |
| Story Points: | 2 |
| Description |
|
It seems that the default selected option for all SelectFieldDefinition does not work anymore. - name: footerOption class: info.magnolia.ui.form.field.definition.OptionGroupFieldDefinition sortOptions: false layout: horizontal options: - name: empty value: empty - name: generic value: generic selected: true - name: education value: education |
| Comments |
| Comment by Khuong Nguyen [ 14/Feb/17 ] |
|
Hi jdiepeveen,
After I followed your description and try to investigate, in my opinion there is no bug. Here is steps that I reproduced. Steps to reproduce: Add new case: Edit case: Best Regards, |
| Comment by Jordie Diepeveen [ 16/Feb/17 ] |
|
Hi, Thanks for checking out! You're right! When a new page is created the selected option will work. When the page is already created before, the selected value is not selected by default. Thanks for explaining! Kind regards, |