Problem/Motivation
The webform entity reference field type has open / close / schedule override feature, but that's not true for webform blocks. Is there a reason why the same level of functionality isn't part of the webform block plugin?
Steps to reproduce
Add a webform block to a page via Layout Builder -- notice there is not an option to open / close / schedule it!
Proposed resolution
Add optional open / close / schedule settings to webform blocks to parallel the functionality that already exists in the field type plugin.
Remaining tasks
- Open a pull request
- Review
- Commit 🙏
User interface changes
Three new options would appear in the webform block UI, "Open", "Close", and "Schedule".
API changes
None
Data model changes
New settings in the block.settings.webform_block configuration schema.
Issue fork webform-3506838
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
luke.leberI plan on opening a pull request this weekend at some point, so self-assigning.
Comment #5
jrockowitz commentedI think all new functionality should be handled in dedicated contributed module like a webform_block_advanced.module which could extend or replace the webform block plugin.
Comment #6
jrockowitz commentedComment #7
jrockowitz commented