Closed (fixed)
Project:
Payment
Version:
8.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
3 Mar 2013 at 17:13 UTC
Updated:
13 May 2014 at 14:20 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
xanoComment #2
xanoConvert this to a form element for easy re-use.
Comment #3
xanoThis is a first stab, but the datetime element's validation keeps failing.
Comment #4
xanoLet's do it like this instead. Making this a separate operation makes clear that by setting a new status the actual payment is not changed, but that its state changes. As a follow-up, change the existing payment edit form in #2252765: Expand the payment edit form.
Comment #5
xanoNote that when clicking the "Update status" operation from the payment entity list, the form should be opened in a modal, but that does not happen yet.
Comment #6
xanoAnd this needs tests...
Comment #7
xanoThe problem was that the
core/drupal.ajaxlibrary was not added to the page. Instead of doing this ourselves, wait for #2253257: Use a modal for entity delete operation links to be fixed.Comment #8
xanoAlso use ContentEntityForm instead of EntityForm.
Comment #9
xanoComment #10
xano