[MGNLUI-4181] Checkbox field is editable even if 'readOnly' is set to 'true' Created: 31/Mar/17  Updated: 07/Apr/17  Resolved: 04/Apr/17

Status: Closed
Project: Magnolia UI
Component/s: forms
Affects Version/s: 5.4.12, 5.5.3
Fix Version/s: 5.4.12, 5.5.4

Type: Bug Priority: Neutral
Reporter: Evzen Fochr Assignee: Mikaël Geljić
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: 0d
Time Spent: 1h
Original Estimate: 1h

Issue Links:
Relates
relates to MGNLUI-4081 readOnly checkbox doesn't appear in J... Closed
causality
caused by MGNLUI-4155 Cannot add new an asset in DAM applic... Closed
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 90
Story Points: 1

 Description   

Since MGNLUI-4081, fields' underlying Vaadin Property is no longer marked read-only based on the definition (now rather based on the intrinsic data-source writability)
Only the Vaadin Field itself is marked read-only. This revealed the CheckBoxField mis-implementation of a CustomField.

info.magnolia.ui.form.field.CheckBoxField does not propagate readOnly status to its inner checkbox.



 Comments   
Comment by Mikaël Geljić [ 03/Apr/17 ]

Because I was pbly responsible for that one, I crafted the quick fix on Friday... Pretty sure it affects 5.4.12 as well, which is not released yet, 5.4 PR to follow.

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