ISSUE-26: Add a Cancel Edit button to Webform widget editing #55
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
See #26
Since 26 is a macro issue, this is just a step forward: This pull adds a Cancel Button to any ADO via a Webform Editing session (editing, not creating from 0) which triggers also Edit Buttons from the main Node Form to be displayed again and the original "Edit SOMEPLACEHOLDER TEXT YOU DECIDED ON" to appear back. Logic is simple and most of that is Ajax Commands being send as response to the existing Model Controller we built back in the days:
Also covers
#56 Drupal 9!
Other Improvements:
@TODO:
Expose as an setting to the Widget. So people can decide if they want the inline form (as they get now) or the popup a new one (as they got in 2019)