[MGNLUI-7223] As a developer I can configure readOnly and defaultValue on RichTextField Created: 09/Jun/22  Updated: 09/Jun/22  Resolved: 09/Jun/22

Status: Closed
Project: Magnolia UI
Component/s: None
Affects Version/s: 6.2.19, 6.3.0
Fix Version/s: None

Type: Bug Priority: Neutral
Reporter: Quach Hao Thien Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
duplicate
duplicates MGNLUI-6958 ReadOnly RichTextField still accepts ... Open
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

 Description   

Steps:

  1. Configure richTextField in any dialog or app (e.g textImage.yaml ) with the example below
  2. Open the dialog and observe the result

Expects:

  • defaultValue is populated to field
  • richTextField is read-only, cannot be edited

Actuals:

  • form doesn't populate defaultValue to field
  • RichTextField allows to type in, but cannot delete

Example:

foo:
  i18n: true
  label: foo
  $type: richTextField
  defaultValue: "Lorem ipsum dolo sit amet"
  readOnly: true

Generated at Mon Feb 12 09:44:16 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.