[MGNLUI-4171] defaultValue is ignored when field is readOnly Created: 22/Mar/17 Updated: 26/May/21 Resolved: 26/May/21 |
|
| Status: | Closed |
| Project: | Magnolia UI |
| Component/s: | app, dialogs |
| Affects Version/s: | 6.2 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Neutral |
| Reporter: | Tom Wespi | Assignee: | Unassigned |
| Resolution: | Cannot Reproduce | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
||||||||
| Issue Links: |
|
||||||||
| 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: | |||||||||
| Description |
|
When the property readOnly is set, the defaultValue property is ignored. Tested with field info.magnolia.ui.form.field.definition.TextFieldDefinition Example: /modules/dam-app/apps/assets/subApps/detail/editor/form/tabs/asset/fields/metadataStandard@defaultValue
|
| Comments |
| Comment by Roman Kovařík [ 08/Mar/21 ] |
|
sang.ngo Could you check if this is still the case? |
| Comment by Richard Gange [ 26/May/21 ] |
|
Tried UI5 and UI6 style. Both worked in 6.2.8. |