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.
Issue fork ui_patterns-3517695
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
Comment #2
smovs commentedComment #4
smovs commentedHi @ christian.wiedemann
I created ComponentFormDisplayWidget for the ui_patterns_field module.
Please review MR and let me know what needs to be refactored. Thanks
Comment #5
christian.wiedemann commentedComment #6
smovs commentedHi @ christian.wiedemann
Thanks for the review. I refactored the code of the ComponentFormDisplayWidget according to your suggestions.
Please look at the refactored version.
Comment #8
christian.wiedemann commentedThanks! It is merged now.
Comment #9
smovs commentedComment #10
smovs commentedComment #11
smovs commentedComment #12
christian.wiedemann commentedComment #13
christian.wiedemann commentedComment #14
pdureau commentedComment #15
pdureau commentedComment #16
christian.wiedemann commented