Skip to content

mmm-client-ui-widget: design decision for field widgets #85

@hohwille

Description

@hohwille

We spent a lot of work for field widgets to allow switching from view to edit mode and vice-versa. Widgets for view and edit mode are designed to be created lazily. However, problems arise e.g. with attaching the focus events as this is currently causing the edit widgets to be created always.
A simpler and maybe more robust alternative might be to have only the raw edit widget (some input) and to switch them between view and edit mode just by setting readonly attribute. Via CSS the appearance for readonly input widgets could be easily tuned to look alike. IE6 and other dinosaurs are not supported anyways.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions