Problem/Motivation

We need a field widget to show UI Patterns UI forms direct in entity edit.

Proposed resolution

Add a new field widget ComponentFormDisplayWidget analog to SourceComponentWidget. The widget uses #uip_display_form and sets a predefined display_id.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

christian.wiedemann created an issue. See original summary.

smovs’s picture

Assigned: Unassigned » smovs

smovs’s picture

Assigned: smovs » Unassigned
Status: Active » Needs review

Hi @ christian.wiedemann
I created ComponentFormDisplayWidget for the ui_patterns_field module.
Please review MR and let me know what needs to be refactored. Thanks

christian.wiedemann’s picture

Status: Needs review » Needs work
smovs’s picture

Status: Needs work » Needs review

Hi @ christian.wiedemann

Thanks for the review. I refactored the code of the ComponentFormDisplayWidget according to your suggestions.

Please look at the refactored version.

christian.wiedemann’s picture

Status: Needs review » Fixed

Thanks! It is merged now.

smovs’s picture

smovs’s picture

Status: Fixed » Active
smovs’s picture

Status: Active » Fixed
christian.wiedemann’s picture

Status: Fixed » Active
christian.wiedemann’s picture

Status: Active » Fixed
pdureau’s picture

Title: [2.0.x] UI Patterns UI - Field widget for UI Patterns field » [2.0.4] UI Patterns UI - Field widget for UI Patterns field
pdureau’s picture

Status: Fixed » Closed (fixed)
christian.wiedemann’s picture